Kind: global interface
- Fill
- instance
- .type :
String
- .color :
Color
- .gradient :
Gradient
- .opacity :
Number
- .blendMode :
BLEND_MODES
- .fill :
Number
- .type :
- static
- .BLEND_MODES :
enum
- .BLEND_MODES :
- instance
Type of the fill, color
and gradient
.
Kind: instance property of Fill
fill.color : Color
Color of the fill.
Kind: instance property of Fill
fill.gradient : Gradient
Gradient of the fill.
Kind: instance property of Fill
Opacity of the fill, [0, 1].
Kind: instance property of Fill
fill.blendMode : BLEND_MODES
Blend mode of the fill, defined in BLEND_MODES.
Kind: instance property of Fill
Blend modes for a fill.
Kind: static enum of Fill
Properties
Name | Type | Default |
---|---|---|
NORMAL | String |
normal |
DARKEN | String |
darken |
MULTIPLY | String |
multiply |
COLOR_BURN | String |
color-burn |
LIGHTEN | String |
lighten |
SCREEN | String |
screen |
COLOR_DODGE | String |
color-dodge |
OVERLAY | String |
overlay |
SOFT_LIGHT | String |
soft-light |
HARD_LIGHT | String |
hard-light |
DIFFERENCE | String |
difference |
EXCLUSION | String |
exclusion |
HUE | String |
hue |
SATURATION | String |
saturation |
COLOR | String |
color |
LUMINOSITY | String |
luminosity |
SOURCE_IN | String |
source-in |
SOURCE_OUT | String |
source-out |
SOURCE_ATOP | String |
source-atop |
DESTINATION_OVER | String |
destination-over |
DESTINATION_IN | String |
destination-in |
DESTINATION_OUT | String |
destination-out |
DESTINATION_ATOP | String |
destination-atop |
DISSOLVE | String |
dissolve |
LINEAR_BURN | String |
linear-burn |
LINEAR_DODGE | String |
linear-dodge |
DARKER_COLOR | String |
darker-color |
LIGHTER_COLOR | String |
lighter-color |
VIVID_LIGHT | String |
vivid-light |
LINEAR_LIGHT | String |
linear-light |
PIN_LIGHT | String |
pin-light |
HARD_MIX | String |
hard-mix |
SUBTRACT | String |
subtract |
DIVIDE | String |
divide |