Canvas Toolkit
← Class index

CStyleOptionFrame

GUI and styling · extends CStyleOption

Contains style information used to render a frame.

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

Declared members

frameShape: CFrameShape;

Returns or updates the frame shape value.

frameShadow: CFrameShadow;

Returns or updates the frame shadow value.

lineWidth: number;

Returns the line width used by the style.

midLineWidth: number;

Returns the mid line width used by the style.

constructor(other?: CStyleOptionFrame | null);

Creates a new CStyleOptionFrame instance. @param other Other.

initFromFrame(frame: CFrame): void;

Initializes this style option from the specified frame. @param frame Frame.