Package arc.flabel
Class FGlyph
java.lang.Object
arc.graphics.g2d.Font.Glyph
arc.flabel.FGlyph
- All Implemented Interfaces:
Pool.Poolable
Extension of
Font.Glyph
with additional data exposed to the user.-
Field Summary
Modifier and TypeFieldDescriptionColor of this glyph.GlyphLayout.GlyphRun
this glyph belongs to. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
reset()
Resets the object for reuse.void
set
(Font.Glyph from) Methods inherited from class arc.graphics.g2d.Font.Glyph
getKerning, setKerning, toString
-
Field Details
-
run
GlyphLayout.GlyphRun
this glyph belongs to. -
color
Color of this glyph. If set to null, the run's color will be used. Defaults to null.
-
-
Constructor Details
-
FGlyph
public FGlyph()
-
-
Method Details
-
set
-
reset
public void reset()Description copied from interface:Pool.Poolable
Resets the object for reuse. Object references should be nulled and fields may be set to default values.- Specified by:
reset
in interfacePool.Poolable
-