Aspose::Cells::Drawing::ShadowEffect class

ShadowEffect class

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

class ShadowEffect

Methods

MethodDescription
GetAngle()Gets and sets the lighting angle. Range from 0 to 359.9 degrees.
GetBlur()Gets and sets the blur of the shadow. Range from 0 to 100 points.
GetColor()Gets and sets the color of the shadow.
GetDistance()Gets and sets the distance of the shadow. Range from 0 to 200 points.
GetPresetType()Gets and sets the preset shadow type of the shadow.
GetSize()Gets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow.
GetTransparency()Gets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear).
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const ShadowEffect& src)operator=
SetAngle(double value)Gets and sets the lighting angle. Range from 0 to 359.9 degrees.
SetBlur(double value)Gets and sets the blur of the shadow. Range from 0 to 100 points.
SetColor(const CellsColor& value)Gets and sets the color of the shadow.
SetDistance(double value)Gets and sets the distance of the shadow. Range from 0 to 200 points.
SetPresetType(PresetShadowType value)Gets and sets the preset shadow type of the shadow.
SetSize(double value)Gets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow.
SetTransparency(double value)Gets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear).
ShadowEffect(ShadowEffect_Impl* impl)Constructs from an implementation object.
ShadowEffect(const ShadowEffect& src)Copy constructor.
~ShadowEffect()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also