TextureFill

TextureFill class

Encapsulates the object that represents texture fill format

class TextureFill;

Methods

MethodDescription
getType()Gets and sets the texture type
setType(TextureType)Gets and sets the texture type
getImageData()Gets and sets the image data of the fill.
setImageData(number[])Gets and sets the image data of the fill.
isTiling()Indicates whether tile picture as texture.
setIsTiling(boolean)Indicates whether tile picture as texture.
getPicFormatOption()Gets or sets picture format option.
setPicFormatOption(PicFormatOption)Gets or sets picture format option.
getTilePicOption()Gets or sets tile picture option.
setTilePicOption(TilePicOption)Gets or sets tile picture option.
getPictureFormatType()Gets and sets the picture format type.
setPictureFormatType(FillPictureType)Gets and sets the picture format type.
getScale()Gets and sets the picture format scale.
setScale(number)Gets and sets the picture format scale.
getTransparency()Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
setTransparency(number)Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
isNull()Checks whether the implementation object is null.

getType()

Gets and sets the texture type

getType() : TextureType;

Returns

TextureType

setType(TextureType)

Gets and sets the texture type

setType(value: TextureType) : void;

Parameters:

ParameterTypeDescription
valueTextureTypeThe value to set.

getImageData()

Gets and sets the image data of the fill.

getImageData() : number[];

Returns

number[]

setImageData(number[])

Gets and sets the image data of the fill.

setImageData(value: number[]) : void;

Parameters:

ParameterTypeDescription
valuenumber[]The value to set.

isTiling()

Indicates whether tile picture as texture.

isTiling() : boolean;

setIsTiling(boolean)

Indicates whether tile picture as texture.

setIsTiling(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getPicFormatOption()

Gets or sets picture format option.

getPicFormatOption() : PicFormatOption;

Returns

PicFormatOption

setPicFormatOption(PicFormatOption)

Gets or sets picture format option.

setPicFormatOption(value: PicFormatOption) : void;

Parameters:

ParameterTypeDescription
valuePicFormatOptionThe value to set.

getTilePicOption()

Gets or sets tile picture option.

getTilePicOption() : TilePicOption;

Returns

TilePicOption

setTilePicOption(TilePicOption)

Gets or sets tile picture option.

setTilePicOption(value: TilePicOption) : void;

Parameters:

ParameterTypeDescription
valueTilePicOptionThe value to set.

getPictureFormatType()

Gets and sets the picture format type.

getPictureFormatType() : FillPictureType;

Returns

FillPictureType

setPictureFormatType(FillPictureType)

Gets and sets the picture format type.

setPictureFormatType(value: FillPictureType) : void;

Parameters:

ParameterTypeDescription
valueFillPictureTypeThe value to set.

getScale()

Gets and sets the picture format scale.

getScale() : number;

setScale(number)

Gets and sets the picture format scale.

setScale(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getTransparency()

Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

getTransparency() : number;

setTransparency(number)

Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

setTransparency(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;