ShadowEffect
ShadowEffect class
This class specifies the shadow effect of the chart element or shape.
class ShadowEffect;
Methods
Method | Description |
---|---|
getPresetType() | Gets and sets the preset shadow type of the shadow. |
setPresetType(PresetShadowType) | Gets and sets the preset shadow type of the shadow. |
getColor() | Gets and sets the color of the shadow. |
setColor(CellsColor) | Gets and sets the color of the shadow. |
getTransparency() | Gets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear). |
setTransparency(number) | Gets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear). |
getSize() | Gets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow. |
setSize(number) | Gets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow. |
getBlur() | Gets and sets the blur of the shadow. Range from 0 to 100 points. |
setBlur(number) | Gets and sets the blur of the shadow. Range from 0 to 100 points. |
getAngle() | Gets and sets the lighting angle. Range from 0 to 359.9 degrees. |
setAngle(number) | Gets and sets the lighting angle. Range from 0 to 359.9 degrees. |
getDistance() | Gets and sets the distance of the shadow. Range from 0 to 200 points. |
setDistance(number) | Gets and sets the distance of the shadow. Range from 0 to 200 points. |
isNull() | Checks whether the implementation object is null. |
getPresetType()
Gets and sets the preset shadow type of the shadow.
getPresetType() : PresetShadowType;
Returns
setPresetType(PresetShadowType)
Gets and sets the preset shadow type of the shadow.
setPresetType(value: PresetShadowType) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | PresetShadowType | The value to set. |
getColor()
Gets and sets the color of the shadow.
getColor() : CellsColor;
Returns
setColor(CellsColor)
Gets and sets the color of the shadow.
setColor(value: CellsColor) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | CellsColor | The value to set. |
getTransparency()
Gets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear).
getTransparency() : number;
setTransparency(number)
Gets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear).
setTransparency(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getSize()
Gets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow.
getSize() : number;
setSize(number)
Gets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow.
setSize(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getBlur()
Gets and sets the blur of the shadow. Range from 0 to 100 points.
getBlur() : number;
setBlur(number)
Gets and sets the blur of the shadow. Range from 0 to 100 points.
setBlur(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getAngle()
Gets and sets the lighting angle. Range from 0 to 359.9 degrees.
getAngle() : number;
setAngle(number)
Gets and sets the lighting angle. Range from 0 to 359.9 degrees.
setAngle(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getDistance()
Gets and sets the distance of the shadow. Range from 0 to 200 points.
getDistance() : number;
setDistance(number)
Gets and sets the distance of the shadow. Range from 0 to 200 points.
setDistance(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;