Package de.gurkenlabs.litiengine.gui
Class Appearance
java.lang.Object
de.gurkenlabs.litiengine.gui.Appearance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidgetBackgroundPaint(double width, double height) floatinthashCode()booleanbooleanvoidonChange(Consumer<Appearance> cons) voidsetBackgroundColor1(Color backColor1) voidsetBackgroundColor2(Color backColor2) voidsetBorderColor(Color color) voidsetBorderRadius(float radius) voidsetBorderStyle(Stroke style) voidsetForeColor(Color foreColor) voidsetHorizontalBackgroundGradient(boolean horizontal) voidsetTransparentBackground(boolean transparentBackground) voidupdate(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()
-