Note, as the default direciton is 'right', using the inline definition of
arrow will only work with EQN_Bar (top and bottom sides),
EQN_Comment, and EQN_LeftRightGlyph.
drawdynamic | static — 'dynamic' updates vertices on
resize, 'static' only changes scale transform (dynamic)
staticHeightnumber | first — used when draw=static.
number sets height of static symbol - 'first' calculates and sets height
based on first use ('first')
Example
// Define in element figure.add({ make:'equation', elements: { rightArrow: { symbol:'arrow', direction:'right' }, }, forms: { form1: { bar: ['a', 'rightArrow', false, 0.05, 0.03] }, }, });
Example
// Define inline simple one use figure.add({ make:'equation', forms: { form1: { bar: ['a', 'arrow', false, 0.05, 0.03] }, }, });
Arrow equation symbol.
The arrow direction defines where it can be used:
'left','right': EQN_Bar (top and bottom sides), EQN_Comment, and EQN_LeftRightGlyph'up','down': EQN_Bracket, EQN_Bar (left and right sides), and EQN_TopBottomGlyphNote, as the default direciton is
'right', using the inline definition of arrow will only work with EQN_Bar (top and bottom sides), EQN_Comment, and EQN_LeftRightGlyph.arrowWidth |<--------------->| | | | | -------|------- 0 | A | 00000 | arrowHeight | | 0000000 | | | 00000000000 | V | 000000000000000 | ------ 0000000000000000000 0000000 0000000 0000000 0000000 0000000 0000000 0000000 0000000 0000000 0000000 0000000 0000000 0000000 0000000 0000000 0000000 | | | | |<--->| lineWidthsymbolarrowdirectionleft|right|up|down— ('right')lineWidthnumber— (0.01)arrowHeightnumber— (0.04)arrowWidthnumber— (0.01)drawdynamic|static—'dynamic'updates vertices on resize,'static'only changes scale transform (dynamic)staticHeightnumber|first— used whendraw=static.numbersets height of static symbol -'first'calculates and sets height based on first use ('first')Example
Example
Example
Example