Interface StencilBaseState

Represents state (configuration) of a stencil. Used to save and restore stencils as well as for undo/redo operations.

Hierarchy

Properties

fillColor?: string

Fill color.

height?: number

Stencil's height.

iid: number

Internal stencil id. Used to refer to the stencil in connectors, etc.

left: number

Horizontal coordinate of the stencil.

notes?: string

Arbitrary string data that can be saved along with the stencil's state.

strokeColor?: string

Stroke color.

strokeDasharray?: string

Stroke dash array.

See

MDN stroke-dasharray docs for details.

strokeWidth?: number

Stroke width in pixels.

top: number

Vertical coordinate of the stencil.

typeName: string

String representation of the stencil's type name.

width?: number

Stencil's width.

Generated using TypeDoc