TextureFill
TextureFill class
Encapsulates the object that represents texture fill format
class TextureFill;
Properties
Property | Type | Description |
---|---|---|
type | TextureType | Gets and sets the texture type |
imageData | Uint8Array | Gets and sets the image data of the fill. |
isTiling | boolean | Indicates whether tile picture as texture. |
picFormatOption | PicFormatOption | Gets or sets picture format option. |
tilePicOption | TilePicOption | Gets or sets tile picture option. |
pictureFormatType | FillPictureType | Gets and sets the picture format type. |
scale | number | Gets and sets the picture format scale. |
transparency | number | Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
Methods
Method | Description |
---|---|
getType() | @deprecated. Please use the ’type’ property instead. Gets and sets the texture type |
setType(TextureType) | @deprecated. Please use the ’type’ property instead. Gets and sets the texture type |
getImageData() | @deprecated. Please use the ‘imageData’ property instead. Gets and sets the image data of the fill. |
setImageData(Uint8Array) | @deprecated. Please use the ‘imageData’ property instead. Gets and sets the image data of the fill. |
isTiling() | @deprecated. Please use the ‘isTiling’ property instead. Indicates whether tile picture as texture. |
setIsTiling(boolean) | @deprecated. Please use the ‘isTiling’ property instead. Indicates whether tile picture as texture. |
getPicFormatOption() | @deprecated. Please use the ‘picFormatOption’ property instead. Gets or sets picture format option. |
setPicFormatOption(PicFormatOption) | @deprecated. Please use the ‘picFormatOption’ property instead. Gets or sets picture format option. |
getTilePicOption() | @deprecated. Please use the ’tilePicOption’ property instead. Gets or sets tile picture option. |
setTilePicOption(TilePicOption) | @deprecated. Please use the ’tilePicOption’ property instead. Gets or sets tile picture option. |
getPictureFormatType() | @deprecated. Please use the ‘pictureFormatType’ property instead. Gets and sets the picture format type. |
setPictureFormatType(FillPictureType) | @deprecated. Please use the ‘pictureFormatType’ property instead. Gets and sets the picture format type. |
getScale() | @deprecated. Please use the ‘scale’ property instead. Gets and sets the picture format scale. |
setScale(number) | @deprecated. Please use the ‘scale’ property instead. Gets and sets the picture format scale. |
getTransparency() | @deprecated. Please use the ’transparency’ property instead. Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
setTransparency(number) | @deprecated. Please use the ’transparency’ property instead. 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. |
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;
getType()
@deprecated. Please use the ’type’ property instead. Gets and sets the texture type
getType() : TextureType;
Returns
setType(TextureType)
@deprecated. Please use the ’type’ property instead. Gets and sets the texture type
setType(value: TextureType) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | TextureType | The value to set. |
getImageData()
@deprecated. Please use the ‘imageData’ property instead. Gets and sets the image data of the fill.
getImageData() : Uint8Array;
setImageData(Uint8Array)
@deprecated. Please use the ‘imageData’ property instead. Gets and sets the image data of the fill.
setImageData(value: Uint8Array) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number[] | The value to set. |
isTiling()
@deprecated. Please use the ‘isTiling’ property instead. Indicates whether tile picture as texture.
isTiling() : boolean;
setIsTiling(boolean)
@deprecated. Please use the ‘isTiling’ property instead. Indicates whether tile picture as texture.
setIsTiling(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
getPicFormatOption()
@deprecated. Please use the ‘picFormatOption’ property instead. Gets or sets picture format option.
getPicFormatOption() : PicFormatOption;
Returns
setPicFormatOption(PicFormatOption)
@deprecated. Please use the ‘picFormatOption’ property instead. Gets or sets picture format option.
setPicFormatOption(value: PicFormatOption) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | PicFormatOption | The value to set. |
getTilePicOption()
@deprecated. Please use the ’tilePicOption’ property instead. Gets or sets tile picture option.
getTilePicOption() : TilePicOption;
Returns
setTilePicOption(TilePicOption)
@deprecated. Please use the ’tilePicOption’ property instead. Gets or sets tile picture option.
setTilePicOption(value: TilePicOption) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | TilePicOption | The value to set. |
getPictureFormatType()
@deprecated. Please use the ‘pictureFormatType’ property instead. Gets and sets the picture format type.
getPictureFormatType() : FillPictureType;
Returns
setPictureFormatType(FillPictureType)
@deprecated. Please use the ‘pictureFormatType’ property instead. Gets and sets the picture format type.
setPictureFormatType(value: FillPictureType) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | FillPictureType | The value to set. |
getScale()
@deprecated. Please use the ‘scale’ property instead. Gets and sets the picture format scale.
getScale() : number;
setScale(number)
@deprecated. Please use the ‘scale’ property instead. Gets and sets the picture format scale.
setScale(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getTransparency()
@deprecated. Please use the ’transparency’ property instead. 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)
@deprecated. Please use the ’transparency’ property instead. 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:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;