Kind: class
Creates a drop shadow style object with the given properties.
The visible
argument is optional and defaults to true.
Param | Type |
---|---|
x | number |
y | number |
blur | number |
color | !Color |
visible | ?boolean |
X offset of the shadow relative to the shape it is attached to, in global coordinates (i.e. independent of the shape's rotation or any parent's rotation). May be negative.
Kind: instance property of Shadow
Y offset of the shadow relative to the shape it is attached to, in global coordinates (i.e. independent of the shape's rotation or any parent's rotation). May be negative.
Kind: instance property of Shadow
Kind: instance property of Shadow
shadow.color : !Color
Kind: instance property of Shadow
If false, the shadow is not rendered. The user can toggle this via a checkbox in the Properties panel.
Kind: instance property of Shadow