figureone
    Preparing search index...

    Equation strike with comment options used with topStrike and bottomStrike functions.

    Use with EQN_Strike symbol.

    Options can be an object, or an array in the property order below

    To test examples, append them to the boilerplate

    // Simple
    figure.add({
    name: 'eqn',
    make: 'equation',
    elements: {
    x: { symbol: 'strike', color: [0.6, 0.6, 0.6, 1] },
    },
    forms: {
    1: { topStrike: ['radius', 'x', 'radius = 1'] },
    },
    });
    figure.elements._eqn.showForm('1');
    // Some different strike examples
    figure.add({
    name: 'eqn',
    make: 'equation',
    elements: {
    s1: { symbol: 'strike', style: 'forward', color: [0.6, 0.6, 0.6, 1] },
    },
    forms: {
    // Array equation
    1: { topStrike: ['radius', 's1', 'radius = 1'] },
    // Object definition
    2: {
    bottomStrike: {
    content: 'radius',
    symbol: 's1',
    comment: 'radius = 1',
    },
    },
    // Additional options for layout
    3: {
    bottomStrike: {
    content: 'radius',
    comment: 'radius = 1',
    symbol: 's1',
    scale: 0.8,
    space: 0.1,
    commentSpace: 0.01,
    },
    },
    },
    formSeries: ['1', '2', '3']
    });
    const eqn = figure.elements._eqn;
    eqn.onClick = () => eqn.nextForm();
    eqn.setTouchable();
    eqn.showForm('1');
    @interface