figureone
    Preparing search index...

    Interface EQN_SquareBracketSymbol

    Square bracket equation symbol used in EQN_Bracket, EQN_Bar, EQN_Matrix, and EQN_Comment.

    
                               width
                     |<--------------------->|
                     |                       |
               ___                              ____
              A      0000000000000000000000000     A
              |      0000000000000000000000000     | tipWidth
              |      0000000000000000000000000  ___V
              |      00000000
              |      00000000
              |      00000000
              |      00000000
     height   |      00000000
              |      00000000
              |      00000000
              |      00000000
              |      00000000
              |      00000000
              |      0000000000000000000000000
              |      0000000000000000000000000
              V___   0000000000000000000000000
    
                     |      |
                     |      |
                     |<---->|
                    line width
    
    
    • symbol squareBracket
    • side left | right | top | bottom — how to orient the square bracket ('left')
    • lineWidth number — (0.01)
    • width number — (depends on lineWidth)
    • tipWidth number — (0.01)
    • radius number — optional curved corner radius (0)
    • sides number — number of sides in curve (5)
    • draw dynamic | static'static' updates vertices on resize, 'static' only changes scale transform (dynamic)
    • staticHeight number | first — used when draw=static. number sets height of static symbol - 'first' calculates and sets height based on first use ('first')
    // Define in element
    figure.add({
    make: 'equation',
    elements: {
    lb: { symbol: 'squareBracket', side: 'left' },
    rb: { symbol: 'squareBracket', side: 'right' },
    },
    forms: {
    form1: { brac: ['lb', 'a', 'rb'] },
    },
    });
    // Define inline
    figure.add({
    make: 'equation',
    forms: {
    form1: {
    brac: [
    { lb_squareBracket: { side: 'left' } },
    'a',
    { rb_squareBracket: { side: 'right' } },
    ],
    },
    },
    });
    @interface