Skip to content

Latest commit

 

History

History
88 lines (73 loc) · 3.64 KB

File metadata and controls

88 lines (73 loc) · 3.64 KB

Fill

Kind: global interface

fill.type : String

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

fill.opacity : Number

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

Fill.BLEND_MODES : enum

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