Type interface
Inheritance
IPatternSettings extends IEntitySettings.
IPatternSettings is extended by IPicturePatternSettings, ILinePatternSettings, IGrainPatternSettings, ICirclePatternSettings, IRectanglePatternSettings, IStarPatternSettings, ITrianglePatternSettings, IPathPatternSettings.
Properties
|
animations # |
Type Inherited from Animations the element plays on its own, described as data - so they can be set from a JSON config and saved with it. Each one animates a setting of the element (or, with sprite.set("animations", [
{ key: "rotation", to: 360, duration: 4000, loops: 0 },
{ key: "scale", from: 1, to: 1.3, duration: 800, loops: 0, yoyo: true, easing: "sine" }
]);
@since 5.20.8 |
|---|---|
|
color # |
Type Color of the pattern shape. Click here for more info |
|
colorOpacity # |
Type Opacity of the pattern shape. Click here for more info |
|
fill # |
Type Color to fill gaps between pattern shapes. Click here for more info |
|
fillOpacity # |
Type Default Opacity of the fill for gaps between pattern shapes. Click here for more info |
|
height # |
Type Default Height of the pattern tile, in pixels. Click here for more info |
|
id # |
Type Inherited from A unique ID for looking the element up in |
|
ignoreThemes # |
Type Default Inherited from Ignores themes: no theme rule applies to the element, not even one of the default theme. @since 5.15.6 |
|
repetition # |
Type Default How pattern tiles are repeated when filling the area. Click here for more info |
|
rotation # |
Type Default Rotation of pattern in degrees. Supported values: -90 to 90. Click here for more info |
|
stateAnimationDuration # |
Type Default Inherited from How long, in milliseconds, a switch from one state to another animates.
|
|
stateAnimationEasing # |
Type Default Inherited from Easing of the animated switch from one state to another. |
|
strokeDasharray # |
Type Stroke (border or line) dash settings. Click here for more information |
|
strokeDashoffset # |
Type Stroke (border or line) dash offset. Click here for more information |
|
strokeWidth # |
Type Default Width of the pattern's line elements. |
|
themeTags # |
Type Inherited from Tags that theme rules can target. They also count for the element's children, so a rule can match a child by a tag of its parent. Click here for more info |
|
themeTagsSelf # |
Type Inherited from Tags that theme rules can target, like Click here for more info |
|
themes # |
Type Inherited from Themes applied to the element and everything inside it. |
|
userData # |
Type Inherited from Any data of your own to keep with the element. |
|
width # |
Type Default Width of the pattern tile, in pixels. Click here for more info |
| There are 9 inherited items currently hidden from this list. | |