A container class that models the VSDX StyleSheets element, stores all VsdxStyleSheet instances and provides factory methods for them.
Inheritance Hierarchy
Members
Show:
Properties
Defined in
VsdxObject.parentMethods
Creates a new VsdxStyleSheet with the given name and parent styles.
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.
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.
Returns the item at the given index.
Return Value
Defined in
VsdxCollection.getEnumeratorParameters
- comparator?: any