GlowEffect
GlowEffect class
This class specifies a glow effect, in which a color blurred outline is added outside the edges of the object.
class GlowEffect;
Properties
| Property | Type | Description |
|---|---|---|
| color | CellsColor | Gets the color of the glow effect. |
| size | number | Gets and sets the radius of the glow, in unit of points. |
| transparency | number | Gets and sets the degree of transparency of the glow effect. Range from 0.0 (opaque) to 1.0 (clear). |
Methods
| Method | Description |
|---|---|
| getColor() | @deprecated. Please use the ‘color’ property instead. Gets the color of the glow effect. |
| setColor(CellsColor) | @deprecated. Please use the ‘color’ property instead. Gets the color of the glow effect. |
| getSize() | @deprecated. Please use the ‘size’ property instead. Gets and sets the radius of the glow, in unit of points. |
| setSize(number) | @deprecated. Please use the ‘size’ property instead. Gets and sets the radius of the glow, in unit of points. |
| getTransparency() | @deprecated. Please use the ’transparency’ property instead. Gets and sets the degree of transparency of the glow effect. Range from 0.0 (opaque) to 1.0 (clear). |
| setTransparency(number) | @deprecated. Please use the ’transparency’ property instead. 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. |
color
Gets the color of the glow effect.
color : CellsColor;
size
Gets and sets the radius of the glow, in unit of points.
size : number;
transparency
Gets and sets the degree of transparency of the glow effect. Range from 0.0 (opaque) to 1.0 (clear).
transparency : number;
getColor()
@deprecated. Please use the ‘color’ property instead. Gets the color of the glow effect.
getColor() : CellsColor;
Returns
setColor(CellsColor)
@deprecated. Please use the ‘color’ property instead. Gets the color of the glow effect.
setColor(value: CellsColor) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | CellsColor | The value to set. |
getSize()
@deprecated. Please use the ‘size’ property instead. Gets and sets the radius of the glow, in unit of points.
getSize() : number;
setSize(number)
@deprecated. Please use the ‘size’ property instead. 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()
@deprecated. Please use the ’transparency’ property instead. Gets and sets the degree of transparency of the glow effect. Range from 0.0 (opaque) to 1.0 (clear).
getTransparency() : number;
setTransparency(number)
@deprecated. Please use the ’transparency’ property instead. 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;