<text>
<text>
is a Text
component that defines a string variable for use in evaluations and boolean expressions, or to store a value for future rendering.
Attributes and Properties
Attribute | Type | Values |
---|---|---|
anchor = "…" | point | |
draggable = "…" | boolean | "true" "false" |
isLatex = "…" | boolean | "true" "false" |
layer = "…" | number | |
positionFromAnchor = "…" | text | "upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right" "center" |
Property | Type |
---|---|
$t.anchor | point |
$t.backgroundColor | text |
$t.characters | [ text ] |
$t.disabled | boolean |
$t.draggable | boolean |
$t.fixed | boolean |
$t.fixLocation | boolean |
$t.hidden | boolean |
$t.isLatex | boolean |
$t.layer | number |
$t.list | [ text ] |
$t.math | math |
$t.number | number |
$t.numCharacters | integer |
$t.numListItems | integer |
$t.numWords | integer |
$t.positionFromAnchor | text |
$t.text | text |
$t.textColor | text |
$t.textStyleDescription | text |
$t.value | text |
$t.words | [ text ] |
Example: Store a <text>
for future rendering
<text>
values are defined in a <setup>
and referenced by name later for rendering.
Example: <text>
used in a <boolean>
A <text>
values is defined in a <setup>
and referenced by name later in a <boolean>
.
Example: <text>
used on a <graph>
A <text>
values is defined on a <graph>
. The position of the <text>
can be adjusted with the anchor
attribute.
Example: <text>
adaptable to <math>
contexts
<text>
values inserted into a <math>
will be parsed as a <math>
where possible.
Attribute Example: anchor
The anchor
attribute determines the initial position of a <text>
on a <graph>
.
Attribute Example: draggable
The draggable
attribute determines whether the <text>
can be dragged around the <graph>
. All graphical objects are draggable by default.