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

baselineCenter :Rac.Text.Format

A Text.Format to align the text.point to the baseline and center of the drawn text.

Also available as: blc.

baselineLeft :Rac.Text.Format

A Text.Format to align the text.point to the baseline and left of the drawn text.

Also available as: bll.

baselineRight :Rac.Text.Format

A Text.Format to align the text.point to the baseline and right of the drawn text.

Also available as: blr.

bottomCenter :Rac.Text.Format

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

Also available as: bc.

bottomLeft :Rac.Text.Format

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

Also available as: bl.

bottomRight :Rac.Text.Format

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

Also available as: br.

centerCenter :Rac.Text.Format

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

Also available as: cc, centered.

centerLeft :Rac.Text.Format

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

Also available as: cl.

centerRight :Rac.Text.Format

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

Also available as: cr.

topCenter :Rac.Text.Format

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

Also available as: tc.

topLeft :Rac.Text.Format

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

Also available as: tl.

topRight :Rac.Text.Format

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

Also available as: tr.