Skip to main content

GraphicsContextSettings

Typeobject
Backlinks12

Define the opacity, blend mode, isolation blending, and transparency knockout group of the object.

PropertyTypeRequired
classstringRequired
blendModeBlendModeRequired
opacityUnitIntervalRequired
isolateBlendingbooleanRequired
transparencyKnockoutGroupintegerRequired

class​

Required

Type

string

Value

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

"graphicsContextSettings"

blendMode​

Required

Description

The blend mode of the object.

opacity​

Required

Description

The opacity of the object. 0 represents transparent, and 1 represents opaque.

isolateBlending​

Required

Description

To leave objects beneath unaffected, you can isolate the blending mode to a targeted layer or group.

Type

boolean

transparencyKnockoutGroup​

Required

Description

In a transparency knockout group, the elements of a group don't show through each other.

Type

integer

Value

enum: the value of this property must be equal to one of the following values:

ValueExplanation
0
OFF
1
ON
2
Neutral