InnerShadow
Kind: class Since: XD 41
new InnerShadow()
▸ new InnerShadow(?x
, ?y
, ?blur
, ?color
, ?visible
): InnerShadow
Creates an InnerShadow object with the x, y, blur and color properties. You may omit all properties to create an InnerShadow with default values. The visible
argument is always optional and defaults to true.
Param | Type |
---|---|
x | number |
y | number |
blur | number |
color | |
visible | ?boolean |
setShadow()
▸ setShadow(x
, y
, blur
, color
, ?visible
)
Sets the x, y, blur, color, visible members for the InnerShadow object. The visible
argument is optional and defaults to true.
Param | Type |
---|---|
x | number |
y | number |
blur | number |
color | |
visible | ?boolean |
Kind: instance method of InnerShadow