ShadowEffect

ShadowEffect class

This class specifies the shadow effect of the chart element or shape.

Properties

NameTypeDescription
PresetTypeNumberGets and sets the preset shadow type of the shadow. The value of the property is PresetShadowType integer constant.
ColorCellsColorGets and sets the color of the shadow.
TransparencyNumberGets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear).
SizeNumberGets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow.
BlurNumberGets and sets the blur of the shadow. Range from 0 to 100 points.
AngleNumberGets and sets the lighting angle. Range from 0 to 359.9 degrees.
DistanceNumberGets and sets the distance of the shadow. Range from 0 to 200 points.

ShadowEffect.PresetType property

Gets and sets the preset shadow type of the shadow. The value of the property is PresetShadowType integer constant.

Type: Number

ShadowEffect.Color property

Gets and sets the color of the shadow.

Type: CellsColor

ShadowEffect.Transparency property

Gets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear).

Type: Number

ShadowEffect.Size property

Gets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow.

Type: Number

ShadowEffect.Blur property

Gets and sets the blur of the shadow. Range from 0 to 100 points.

Type: Number

ShadowEffect.Angle property

Gets and sets the lighting angle. Range from 0 to 359.9 degrees.

Type: Number

ShadowEffect.Distance property

Gets and sets the distance of the shadow. Range from 0 to 200 points.

Type: Number