#
| source:
src/drawable/instance.Text.js, line 26
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
#
| source:
src/drawable/instance.Text.js, line 102
A Text.Format
to align the text.point
at the
bottom-left of the drawn text.
bottomRight :Rac.Text.Format
#
| source:
src/drawable/instance.Text.js, line 113
A Text.Format
to align the text.point
at the
bottom-right of the drawn text.
centerCenter :Rac.Text.Format
#
| source:
src/drawable/instance.Text.js, line 76
A Text.Format
to position the text.point
at the
center of the drawn text.
Also available as: centered
.
centerLeft :Rac.Text.Format
#
| source:
src/drawable/instance.Text.js, line 65
A Text.Format
to align the text.point
at the
center-left edge of the drawn text.
centerRight :Rac.Text.Format
#
| source:
src/drawable/instance.Text.js, line 91
A Text.Format
to align the text.point
at the
center-right of the drawn text.
topLeft :Rac.Text.Format
#
| source:
src/drawable/instance.Text.js, line 43
A Text.Format
to align the text.point
at the
top-left edge of the drawn text.
topRight :Rac.Text.Format
#
| source:
src/drawable/instance.Text.js, line 54
A Text.Format
to align the text.point
at the
top-right edge of the drawn text.