Uses of Enum Class
playn.core.TextBlock.Align
-
Uses of TextBlock.Align in playn.core
Modifier and TypeMethodDescriptionstatic TextBlock.Align
Returns the enum constant of this class with the specified name.static TextBlock.Align[]
TextBlock.Align.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
TextBlock.fill
(Canvas canvas, TextBlock.Align align, float x, float y) Fillslines
intocanvas
at the specified coordinates, using the specified alignment.void
TextBlock.stroke
(Canvas canvas, TextBlock.Align align, float x, float y) Strokeslines
intocanvas
at the specified coordinates, using the specified alignment.TextBlock.toCanvas
(Graphics gfx, TextBlock.Align align, int fillColor) Creates a canvas image large enough to accommodate this text block and renders the lines into it.