Equation
An Equation is used to typeset mathematical expressions. It assumes that the string field corresponds to a math mode TeX expression, and uses MathJax to render this string. Note that ordinary (non-math) text can be drawn via the Text shape.
Properties
| Property | Type | Default |
|---|---|---|
| name | StrV | "defaultEquation" |
| fillColor | ColorV | |
| width | FloatV | 0 |
| height | FloatV | 0 |
| descent | FloatV | 0 |
| ascent | FloatV | 0 |
| rotation | FloatV | 0 |
| string | StrV | "defaultLabelText" |
| fontSize | StrV | "16px" |
| ensureOnCanvas | BoolV | true |
| center | VectorV | sampled |