Uses of Class
playn.core.TextFormat
-
Uses of TextFormat in playn.core
Fields in playn.core declared as TextFormatModifier and TypeFieldDescriptionfinal TextFormatTextLayout.formatTheTextFormatused to lay out this text.Methods in playn.core that return TextFormatModifier and TypeMethodDescriptionTextFormat.withAntialias(boolean antialias) Returns a clone of this text format withantialiasconfigured as specified.Returns a clone of this text format with the font configured as specified.TextFormat.withFont(String name, Font.Style style, float size) Returns a clone of this text format with the font configured as specified.Returns a clone of this text format with the font configured as specified.Methods in playn.core with parameters of type TextFormatModifier and TypeMethodDescriptionabstract TextLayoutGraphics.layoutText(String text, TextFormat format) Lays out a single line of text using the specified format.abstract TextLayout[]Graphics.layoutText(String text, TextFormat format, TextWrap wrap) Lays out multiple lines of text using the specified format and wrap configuration.