TextStyle
Represents a style configuration for text rendering.
Constructors
Properties
Space added after every character, in em, like CSS letter-spacing. Ligatures are not formed when it is not zero.
The paragraph direction, either Direction.LEFT_TO_RIGHT or Direction.RIGHT_TO_LEFT, or null to determine it from the first strong character of every paragraph. Mixed-direction text is ordered using org.openrndr.draw.font.internal.BidiTextDriver.
Defines the horizontal alignment of the text, typically in the range 0.0, 1.0.
The language of the text as a language tag, for example en, en-GB or nl. It is passed to the shaper and, when hyphenate is enabled, used to hyphenate the text automatically, see Hyphenator.findPatternSet.
Specifies the line height multiplier for the text.
Defines the vertical alignment of the text, typically in the range 0.0, 1.0.
Space added to every space between words, in em, like CSS word-spacing.