figureone
    Preparing search index...

    CollectionsToggle options object that extends OBJ_Collection options object (without parent).

    • width number — toggle width
    • height number — toggle height
    • barHeight number — height of toggle bar showing on or off
    • sides number — number of sides in curves (20)
    • theme light | dark — selects default colors for a light or dark switch (dark)
    • colorOff TypeColor — toggle off color
    • colorOn TypeColor — toggle on color ([0, 1, 0, 1])
    • circleBorder OBJ_ToggleBorder — border around circle (defaults to on where width is half the figure's default line width)
    • barBorder OBJ_ToggleBorder — border around bar (defaults to off - width = 0)
    • label OBJ_ToggleLabel