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;

Methods

MethodDescription
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

CellsColor

setColor(CellsColor)

Gets the color of the glow effect.

setColor(value: CellsColor) : void;

Parameters:

ParameterTypeDescription
valueCellsColorThe 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:

ParameterTypeDescription
valuenumberThe 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:

ParameterTypeDescription
valuenumberThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;