Package com.spinyowl.legui.icon
Class CharIcon
java.lang.Object
com.spinyowl.legui.icon.Icon
com.spinyowl.legui.icon.CharIcon
- All Implemented Interfaces:
Serializable
Icon. Used to draw component icons based on characters and fonts.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.spinyowl.legui.icon.Icon
getHorizontalAlign, getPosition, getSize, getVerticalAlign, setHorizontalAlign, setPosition, setSize, setVerticalAlign
-
Constructor Details
-
CharIcon
public CharIcon()Used to create char icon with default font and color. Default font isFontRegistry.MATERIAL_DESIGN_ICONS. -
CharIcon
-
CharIcon
-
CharIcon
-
-
Method Details
-
getColor
public org.joml.Vector4f getColor() -
setColor
public void setColor(org.joml.Vector4f color) -
getFont
-
setFont
-
getCharCode
public char getCharCode() -
setCharCode
public void setCharCode(char charCode) -
equals
-
hashCode
public int hashCode() -
toString
-