WriteStyle

Represents the styling options for text rendering in a TextWriter.

This class contains various properties to control text appearance, layout, and alignment. The properties defined in this class can be used to modify the behavior of text rendering, including spacing between lines and characters, text alignment, and the use of ellipses for overflowing text.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Represents the ellipsis string used for truncating text when it exceeds the available space within a text box.

Link copied to clipboard

Controls the horizontal alignment of text within a defined bounding box.

Link copied to clipboard

Specifies the additional line spacing to be applied between lines of text.

Link copied to clipboard

Adjusts the spacing between individual characters (glyphs) in text rendering.

Link copied to clipboard

Defines the vertical alignment of text within a bounding box.