IPatternSettings

Type interface

Inheritance

IPatternSettings extends IEntitySettings.

IPatternSettings is extended by IPicturePatternSettings, IGrainPatternSettings, ICirclePatternSettings, ILinePatternSettings, IRectanglePatternSettings, IPathPatternSettings.

Properties

color
#

Type Color

Color of the pattern shape.

Click here for more info

colorOpacity
#

Type undefined | number

Opacity of the pattern shape.

Click here for more info

fill
#

Type Color

Color to fill gaps between pattern shapes.

Click here for more info

fillOpacity
#

Type undefined | number

Opacity of the fill for gaps between pattern shapes.

Click here for more info

height
#

Type undefined | number

Width of the pattern tile, in pixels.

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 am5.registry.entitiesById.

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

repetition
#

Type "repeat" | "repeat-x" | "repeat-y" | "no-repeat"

How pattern tiles are repeated when filling the area.

Click here for more info

rotation
#

Type undefined | number

Default 0

Rotation of patterm in degrees. Supported values: -90 to 90.

Click here for more info

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.

strokeDasharray
#

Type number[] | number

Stroke (border or line) dash settings.

Click here for more information

strokeDashoffset
#

Type undefined | number

Stroke (border or line) dash offset.

Click here for more information

strokeWidth
#

Type undefined | number

Default 1

Width of the pattern's line elements.

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.

width
#

Type undefined | number

Width of the pattern tile, in pixels.

Click here for more info

There are 7 inherited items currently hidden from this list.