Canvas Toolkit
← Class index

CStyleOptionButton

GUI and styling · extends CStyleOption

Contains style information used to render a button.

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

Declared members

constructor(other?: CStyleOptionButton | null);

Creates a new CStyleOptionButton instance. @param other Other.

initFromButton(button: CAbstractButton): void;

Initializes this style option from the specified button. @param button Button.