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

PropertyTypeDescription
colorCellsColorGets the color of the glow effect.
sizenumberGets and sets the radius of the glow, in unit of points.
transparencynumberGets and sets the degree of transparency of the glow effect. Range from 0.0 (opaque) to 1.0 (clear).

Methods

MethodDescription
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

CellsColor

setColor(CellsColor)

@deprecated. Please use the ‘color’ property instead. Gets the color of the glow effect.

setColor(value: CellsColor) : void;

Parameters:

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

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

ParameterTypeDescription
valuenumberThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;