figureone
    Preparing search index...

    Interface EQN_DivisionSymbol

    Division equation symbol used in EQN_Root.

    The division symbol allows customization on how to draw the long form and short form division symbol. Mostly it will not be needed, but for edge case equation layouts it may be useful.

    
                               left space                right space
                 bend width |<->|<---->|                     >|--|<
                            |   |      |                      |  |
                            |   |      |                      |  |
                    ------- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX____V
                    A        X  |      |                      |_______|
                    |         X |       CCCCCCCCCCCCCCCCCCCCCCC       A
                    |          X        CCCCCCCCCCCCCCCCCCCCCCC    top space
                    |           X       CCCCCCCCCCCCCCCCCCCCCCC
             height |           X       CCCCCCCCCCCCCCCCCCCCCCC
                    |           X       CCCCCCCCCCCCCCCCCCCCCCC
                    |           X       CCCCCCCCCCCCCCCCCCCCCCC
                    |          X        CCCCCCCCCCCCCCCCCCCCCCC
                    |         X         CCCCCCCCCCCCCCCCCCCCCCC
                    |        X          CCCCCCCCCCCCCCCCCCCCCCC   bottom space
                    V       X           CCCCCCCCCCCCCCCCCCCCCCC_______V
                    ------ X _________________________________________|
                           |                                          A
                           |                                          |
                           |                  width                   |
                           |<----------------------------------------->
    
    
    • symbol division
    • lineWidth number — (0.01)
    • width number — force width of content area (normally defined by content size)
    • height number — force height of content area (normally defined by content size)
    • bendWidth number — (0)
    • sides number — (10)
    • 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')
    • staticWidth number | first — used when draw=static. number sets width of static symbol - 'first' calculates and sets width based on first use ('first')
    // Define in element
    figure.add({
    make: 'equation',
    elements: {
    d: { symbol: 'division', bendWidth: 0.05 },
    },
    forms: {
    form1: { box: ['abc', 'd'] },
    },
    });
    // Define inline simple one use
    figure.add({
    make: 'equation',
    forms: {
    form1: { box: ['abc', 'division'] },
    },
    });
    // Define inline with reuse
    const eqn = figure.add({
    make: 'equation',
    forms: {
    form1: { box: ['abc', 'd1_division'] },
    form2: { box: ['abc', 'd1'] },
    },
    });
    eqn.animations.new()
    .goToForm({ delay: 1, target: 'form2', animate: 'move' })
    .start();
    // Define inline with customization
    figure.add({
    make: 'equation',
    forms: {
    form1: { box: ['abc', { division: { lineWidth: 0.005 } }] },
    },
    });
    @interface