ShadowEffect

ShadowEffect class

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

Properties

NameTypeDescription
PresetTypeintGets 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.
TransparencyfloatGets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear).
SizefloatGets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow.
BlurfloatGets and sets the blur of the shadow. Range from 0 to 100 points.
AnglefloatGets and sets the lighting angle. Range from 0 to 359.9 degrees.
DistancefloatGets 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: int

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: float

ShadowEffect.Size property

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

Type: float

ShadowEffect.Blur property

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

Type: float

ShadowEffect.Angle property

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

Type: float

ShadowEffect.Distance property

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

Type: float