figureone
    Preparing search index...

    Interface OBJ_TextModifiersDefinition

    Text modifier definition object.

    Used to define the modifiers of a string within a formatted text element OBJ_FormattedText.

    • text string — text to replace modifierId with - if undefined then modifierId is used
    • offset TypeParsablePoint — text offset
    • inLine booleanfalse if modified text should not contribute to line layout (default: true)
    • font OBJ_Font — font changes for modified text
    • touch boolean | TypeParsableBuffer — use true to enable touch or a buffer to enable touch and define the touchBorder (false) buffer (TypeParsableBuffer) around the rectangle (default: '0')
    • onClick string | () => void — function to execute on click within the touchBorder of the modified text
    • space number — additional space to right of text
    • eqn TypeEquationPhrase — use this to replace the text with an equation defined by an equation phrase - when using eqn the font property will be ignored