TextureFill
TextureFill class
Encapsulates the object that represents texture fill format
class TextureFill;
Methods
Method | Description |
---|---|
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
setType(TextureType)
Gets and sets the texture type
setType(value: TextureType) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | TextureType | The 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:
Parameter | Type | Description |
---|---|---|
value | number[] | 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:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
getPicFormatOption()
Gets or sets picture format option.
getPicFormatOption() : PicFormatOption;
Returns
setPicFormatOption(PicFormatOption)
Gets or sets picture format option.
setPicFormatOption(value: PicFormatOption) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | PicFormatOption | The value to set. |
getTilePicOption()
Gets or sets tile picture option.
getTilePicOption() : TilePicOption;
Returns
setTilePicOption(TilePicOption)
Gets or sets tile picture option.
setTilePicOption(value: TilePicOption) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | TilePicOption | The value to set. |
getPictureFormatType()
Gets and sets the picture format type.
getPictureFormatType() : FillPictureType;
Returns
setPictureFormatType(FillPictureType)
Gets and sets the picture format type.
setPictureFormatType(value: FillPictureType) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | FillPictureType | The 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:
Parameter | Type | Description |
---|---|---|
value | number | The 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:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;