Skip to content

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

PropertyTypeDefault
nameStrV"defaultEquation"
fillColorColorV
    
rgba(0,0,0,1)
widthFloatV0
heightFloatV0
descentFloatV0
ascentFloatV0
rotationFloatV0
stringStrV"defaultLabelText"
fontSizeStrV"16px"
ensureOnCanvasBoolVtrue
centerVectorVsampled

Released under the MIT License.