TextureFill

TextureFill class

Encapsulates the object that represents texture fill format

class TextureFill;

Properties

PropertyTypeDescription
typeTextureTypeGets and sets the texture type
imageDataUint8ArrayGets and sets the image data of the fill.
isTilingbooleanIndicates whether tile picture as texture.
picFormatOptionPicFormatOptionGets or sets picture format option.
tilePicOptionTilePicOptionGets or sets tile picture option.
pictureFormatTypeFillPictureTypeGets and sets the picture format type.
scalenumberGets and sets the picture format scale.
transparencynumberReturns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

type

Gets and sets the texture type

type : TextureType;

imageData

Gets and sets the image data of the fill.

imageData : Uint8Array;

isTiling

Indicates whether tile picture as texture.

isTiling : boolean;

picFormatOption

Gets or sets picture format option.

picFormatOption : PicFormatOption;

tilePicOption

Gets or sets tile picture option.

tilePicOption : TilePicOption;

pictureFormatType

Gets and sets the picture format type.

pictureFormatType : FillPictureType;

scale

Gets and sets the picture format scale.

scale : number;

transparency

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

transparency : number;