Skip to main content

ShadowSettings

Properties used to create a shadow.

Type​

Object

Properties​

NameTypeDescription
colorApiColorThe shadow color (black by default).
offsetXnumberThe horizontal offset of the shadow measured in points (a positive value offsets to the right).
offsetYnumberThe vertical offset of the shadow measured in points (a positive value offsets downwards).
rotateWithShapebooleanSpecifies whether the shadow rotates together with the shape.
sizenumberThe shadow size as a percentage of the shape size.
transparencynumberThe shadow transparency from 0.0 (opaque) to 1.0 (clear).