Canvas Toolkit
← Class index

CStyleOptionCheckBox

GUI and styling · extends CStyleOptionButton

Contains style information used to render a check box.

Module gui/CStyleOptionCheckBox.js. This class is available through the browser modules in the download.

Declared members

text: string;

Returns or updates the text value.

constructor(other?: CStyleOptionCheckBox | null);

Creates a new CStyleOptionCheckBox instance. @param other Other.

initFromCheckBox(checkBox: CCheckBox): void;

Initializes this style option from the specified check box. @param checkBox Check box.