Canvas Toolkit
← Class index

CStyleOptionRadioButton

GUI and styling · extends CStyleOptionButton

Contains style information used to render a radio button.

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

Declared members

text: string;

Returns or updates the text value.

constructor(other?: CStyleOptionRadioButton | null);

Creates a new CStyleOptionRadioButton instance. @param other Other.

initFromRadioButton(radioButton: CRadioButton): void;

Initializes this style option from the specified radio button. @param radioButton Radio button.