instance.Text. Format

Members and methods attached to the rac.Text.Format function.

The function contains ready-made convenience Text.Format objects for usual values, all setup with the owning Rac instance.

Example
let rac = new Rac()
rac.Text.Format.topLeft // ready-made top-left text format
rac.Text.Format.topLeft.rac === rac // true

Members

bottomLeft :Rac.Text.Format

A Text.Format to align the text.point at the bottom-left of the drawn text.

bottomRight :Rac.Text.Format

A Text.Format to align the text.point at the bottom-right of the drawn text.

centerCenter :Rac.Text.Format

A Text.Format to position the text.point at the center of the drawn text.

Also available as: centered.

centerLeft :Rac.Text.Format

A Text.Format to align the text.point at the center-left edge of the drawn text.

centerRight :Rac.Text.Format

A Text.Format to align the text.point at the center-right of the drawn text.

topLeft :Rac.Text.Format

A Text.Format to align the text.point at the top-left edge of the drawn text.

topRight :Rac.Text.Format

A Text.Format to align the text.point at the top-right edge of the drawn text.