figureone
    Preparing search index...

    Interface OBJ_Figure

    Figure options object

    • htmlId string — HTML div tag id to tie figure to ("figureOneContainer")
    • scene TypeParsableRect | OBJ_Scene — define 2D or 3D scene. 3D can be orthographic or perspective projection, and include camera position and lighting definition. A 2D scene can be defined using left, right, bottom and top, or the short hand rectangle definition.
    • color TypeColor — default shape color ([0, 0, 0, 1])
    • font OBJ_Font — default shape font ({ family: 'Helvetica, size: 0.2, style: 'normal', weight: 'normal' })
    • lineWidth number — default shape line width
    • length number — default shape primary dimension
    • backgroundColor number — background color for the figure. Use [r, g, b, 1] for opaque and [0, 0, 0, 0] for transparent.