Class: VisualCheckbox

VisualCheckbox(visual, options)

A checkbox for controlling the display status of a visual.

Constructor

new VisualCheckbox(visual, options)

Create a visual control checkbox.
Parameters:
Name Type Description
visual Object The visual to be controlled.
options Object Configuration options.
Author:
  • Lawrence Fyfe
Source:

Methods

draw()

Draw this control.
Source:

erase()

Erase this control.
Source:

initialize(parentElement)

Initialize this control by attaching it to the specified parent element.
Parameters:
Name Type Description
parentElement element The parent element.
Source: