PatternFill

PatternFill class

Encapsulates the object that represents pattern fill format

class PatternFill;

Methods

MethodDescription
getPattern()Gets or sets the fill pattern type
setPattern(FillPattern)Gets or sets the fill pattern type
getBackgroundColor()Gets or sets the background Color of the Area.
setBackgroundColor(Color)Gets or sets the background Color of the Area.
getBackgroundCellsColor()Gets and sets the foreground CellsColor object.
setBackgroundCellsColor(CellsColor)Gets and sets the foreground CellsColor object.
getForegroundColor()Gets or sets the foreground Color.
setForegroundColor(Color)Gets or sets the foreground Color.
getForegroundCellsColor()Gets and sets the foreground CellsColor object.
setForegroundCellsColor(CellsColor)Gets and sets the foreground CellsColor object.
getForeTransparency()Gets or sets the transparency of foreground color.
setForeTransparency(number)Gets or sets the transparency of foreground color.
getBackTransparency()Gets or sets the transparency of background color.
setBackTransparency(number)Gets or sets the transparency of background color.
isNull()Checks whether the implementation object is null.

getPattern()

Gets or sets the fill pattern type

getPattern() : FillPattern;

Returns

FillPattern

setPattern(FillPattern)

Gets or sets the fill pattern type

setPattern(value: FillPattern) : void;

Parameters:

ParameterTypeDescription
valueFillPatternThe value to set.

getBackgroundColor()

Gets or sets the background Color of the Area.

getBackgroundColor() : Color;

Returns

Color

setBackgroundColor(Color)

Gets or sets the background Color of the Area.

setBackgroundColor(value: Color) : void;

Parameters:

ParameterTypeDescription
valueColorThe value to set.

getBackgroundCellsColor()

Gets and sets the foreground CellsColor object.

getBackgroundCellsColor() : CellsColor;

Returns

CellsColor

setBackgroundCellsColor(CellsColor)

Gets and sets the foreground CellsColor object.

setBackgroundCellsColor(value: CellsColor) : void;

Parameters:

ParameterTypeDescription
valueCellsColorThe value to set.

getForegroundColor()

Gets or sets the foreground Color.

getForegroundColor() : Color;

Returns

Color

setForegroundColor(Color)

Gets or sets the foreground Color.

setForegroundColor(value: Color) : void;

Parameters:

ParameterTypeDescription
valueColorThe value to set.

getForegroundCellsColor()

Gets and sets the foreground CellsColor object.

getForegroundCellsColor() : CellsColor;

Returns

CellsColor

setForegroundCellsColor(CellsColor)

Gets and sets the foreground CellsColor object.

setForegroundCellsColor(value: CellsColor) : void;

Parameters:

ParameterTypeDescription
valueCellsColorThe value to set.

getForeTransparency()

Gets or sets the transparency of foreground color.

getForeTransparency() : number;

setForeTransparency(number)

Gets or sets the transparency of foreground color.

setForeTransparency(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getBackTransparency()

Gets or sets the transparency of background color.

getBackTransparency() : number;

setBackTransparency(number)

Gets or sets the transparency of background color.

setBackTransparency(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;