IPatternSetSettings

Type interface

Inheritance

IPatternSetSettings extends IEntitySettings.

IPatternSetSettings is not extended by any other symbol.

Properties

color
#

Type Color

A base color to use for all patterns.

Click here for more info

id
#

Type undefined | string

Inherited from IEntitySettings

A custom string ID for the element.

If set, element can be looked up via root.entitiesById.

Will raise error if an element with the same ID already exists.

patterns
#

Type Pattern[]

List of colors in the set.

startIndex
#

Type undefined | number

Start iterating patterns from specific index.

stateAnimationDuration
#

Type undefined | number

Inherited from IEntitySettings

Duration of transition from one state to another.

stateAnimationEasing
#

Type $ease.Easing

Inherited from IEntitySettings

Easing of transition from one state to another.

step
#

Type undefined | number

Default 1

A step size when using next().

E.g. setting to 2 will make it return every second pattern in the list.

themeTags
#

Type Array

Inherited from IEntitySettings

Tags which can be used by the theme rules.

Click here for more info

themeTagsSelf
#

Type Array

Inherited from IEntitySettings

Tags which can be used by the theme rules.

These tags only apply to this object, not any children.

Click here for more info

themes
#

Type Array

Inherited from IEntitySettings

A list of themes applied to the element.

userData
#

Type any

Inherited from IEntitySettings

A storage for any custom user data that needs to be associated with the element.

There are 7 inherited items currently hidden from this list.