A container class that models the VSDX Shapes object, stores all Shape instances and provides factory methods for them.

Members

Show:

Properties

Methods

Creates a new foreign Shape, i.e, a Shape of type 'Foreign'.

Parameters

master?: Master
fillStyle?: VsdxStyleSheet
lineStyle?: VsdxStyleSheet
textStyle?: VsdxStyleSheet

Return Value

Creates a new foreign Shape, i.e, a Shape of type 'Foreign'.

Parameters

master?: Master

An optional master.

fillStyle?: VsdxStyleSheet

The fillStyle to apply to this shape.

lineStyle?: VsdxStyleSheet

The lineStyle to apply to this shape.

textStyle?: VsdxStyleSheet

The textStyle to apply to this shape.

Return Value

Creates a new group Shape, i.e, a Shape of type 'Group'.

Parameters

master?: Master
fillStyle?: VsdxStyleSheet
lineStyle?: VsdxStyleSheet
textStyle?: VsdxStyleSheet

Return Value

Creates a new group Shape, i.e, a Shape of type 'Group'.

Parameters

master?: Master

An optional master.

fillStyle?: VsdxStyleSheet

The fillStyle to apply to this shape.

lineStyle?: VsdxStyleSheet

The lineStyle to apply to this shape.

textStyle?: VsdxStyleSheet

The textStyle to apply to this shape.

Return Value

Creates a new Shape.

Parameters

master?: Master
fillStyle?: VsdxStyleSheet
lineStyle?: VsdxStyleSheet
textStyle?: VsdxStyleSheet

Return Value

Creates a new Shape.

Parameters

master?: Master

An optional master.

fillStyle?: VsdxStyleSheet

The fillStyle to apply to this shape.

lineStyle?: VsdxStyleSheet

The lineStyle to apply to this shape.

textStyle?: VsdxStyleSheet

The textStyle to apply to this shape.

Return Value

Creates a new Shape with the same type as the first shape of the given master.

Parameters

master: Master
fillStyle?: VsdxStyleSheet
lineStyle?: VsdxStyleSheet
textStyle?: VsdxStyleSheet

Return Value

Creates a new Shape with the same type as the first shape of the given master.

Parameters

master: Master

The master. Must have exactly one toplevel shape. The type of the created shape will be the same as this shape.

fillStyle?: VsdxStyleSheet

The fillStyle to apply to this shape.

lineStyle?: VsdxStyleSheet

The lineStyle to apply to this shape.

textStyle?: VsdxStyleSheet

The textStyle to apply to this shape.

Return Value

Returns the item at the given index.

Parameters

Return Value

Parameters

comparator?: any