Skip to main content

Fill

Typeobject
Backlinks3

Define a fill style of an object.

PropertyTypeRequired
classstringRequired
isEnabledbooleanRequired
colorColorOptional
fillTypeFillTypeRequired
contextSettingsGraphicsContextSettingsRequired
gradientGradientOptional
patternPatternOptional

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"fill"

isEnabled​

Required

Description

no description

Type

boolean

color​

Optional

Description

The color of the fill.

Type

Color

fillType​

Required

Description

The content type of the fill.

contextSettings​

Required

Description

The opacity and blending-related configurations of the fill.

gradient​

Optional

Description

The gradient of the fill.

pattern​

Optional

Description

The pattern of the fill.