GlowEffect
Contents
[
Hide
]GlowEffect class
This class specifies a glow effect, in which a color blurred outline is added outside the edges of the object.
class GlowEffect;
Methods
Method | Description |
---|---|
getColor() | Gets the color of the glow effect. |
setColor(CellsColor) | Gets the color of the glow effect. |
getSize() | Gets and sets the radius of the glow, in unit of points. |
setSize(number) | Gets and sets the radius of the glow, in unit of points. |
getTransparency() | Gets and sets the degree of transparency of the glow effect. Range from 0.0 (opaque) to 1.0 (clear). |
setTransparency(number) | Gets and sets the degree of transparency of the glow effect. Range from 0.0 (opaque) to 1.0 (clear). |
isNull() | Checks whether the implementation object is null. |
getColor()
Gets the color of the glow effect.
getColor() : CellsColor;
Returns
setColor(CellsColor)
Gets the color of the glow effect.
setColor(value: CellsColor) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | CellsColor | The value to set. |
getSize()
Gets and sets the radius of the glow, in unit of points.
getSize() : number;
setSize(number)
Gets and sets the radius of the glow, in unit of points.
setSize(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getTransparency()
Gets and sets the degree of transparency of the glow effect. Range from 0.0 (opaque) to 1.0 (clear).
getTransparency() : number;
setTransparency(number)
Gets and sets the degree of transparency of the glow effect. Range from 0.0 (opaque) to 1.0 (clear).
setTransparency(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;