Skip to main content
Version: v1

IPen Interface

Pen data for the current stroke

Signature

export interface IPen

Properties

PropertyTypeDescription
colorIColorColor in RGBA.
thicknessnumberThickness of pen in pixels.

Property Details

color

Color in RGBA.

Signature

color: IColor;

Type: IColor

thickness

Thickness of pen in pixels.

Signature

thickness: number;

Type: number