Package de.gurkenlabs.litiengine.gui
Class Appearance
java.lang.Object
de.gurkenlabs.litiengine.gui.Appearance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
getBackgroundPaint
(double width, double height) float
int
hashCode()
boolean
boolean
void
onChange
(Consumer<Appearance> cons) void
setBackgroundColor1
(Color backColor1) void
setBackgroundColor2
(Color backColor2) void
setBorderColor
(Color color) void
setBorderRadius
(float radius) void
setBorderStyle
(Stroke style) void
setForeColor
(Color foreColor) void
setHorizontalBackgroundGradient
(boolean horizontal) void
setTransparentBackground
(boolean transparentBackground) void
update
(Appearance updateAppearance)
-
Constructor Details
-
Appearance
public Appearance() -
Appearance
-
Appearance
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getForeColor
-
getBackgroundColor1
-
getBackgroundColor2
-
getBackgroundPaint
-
getBorderColor
-
getBorderStyle
-
getBorderRadius
public float getBorderRadius() -
isHorizontalBackgroundGradient
public boolean isHorizontalBackgroundGradient() -
isTransparentBackground
public boolean isTransparentBackground() -
setForeColor
-
setBackgroundColor1
-
setBackgroundColor2
-
setBorderColor
-
setBorderStyle
-
setBorderRadius
public void setBorderRadius(float radius) -
setHorizontalBackgroundGradient
public void setHorizontalBackgroundGradient(boolean horizontal) -
setTransparentBackground
public void setTransparentBackground(boolean transparentBackground) -
onChange
-
update
-
fireOnChangeEvent
protected void fireOnChangeEvent()
-