C

StyleSheets

A container class that models the VSDX StyleSheets element, stores all VsdxStyleSheet instances and provides factory methods for them.

Members

Show:

Properties

Methods

Creates a new VsdxStyleSheet with the given name and parent styles.

Parameters

name: string
fillStyle?: VsdxStyleSheet
lineStyle?: VsdxStyleSheet
textStyle?: VsdxStyleSheet

Return Value

VsdxStyleSheet
A new StyleSheet instance.

Creates a new VsdxStyleSheet with the given name and parent styles.

Parameters

name: string

The name of the stylesheet. Does not need to be unique.

fillStyle?: VsdxStyleSheet

The fillStyle this StyleSheet shall inherit from.

lineStyle?: VsdxStyleSheet

The lineStyle this StyleSheet shall inherit from.

textStyle?: VsdxStyleSheet

The textStyle this StyleSheet shall inherit from.

Return Value

VsdxStyleSheet
A new StyleSheet instance.

Returns the item at the given index.

Parameters

Return Value

Parameters

comparator?: any