TilePicOption
Contents
[
Hide
]TilePicOption class
Represents tile picture as texture.
class TilePicOption;
Constructors
Name | Description |
---|---|
constructor() | Default Constructor. |
Methods
Method | Description |
---|---|
getOffsetX() | Gets or sets the X offset for tiling picture. |
setOffsetX(number) | Gets or sets the X offset for tiling picture. |
getOffsetY() | Gets or sets the Y offset for tiling picture. |
setOffsetY(number) | Gets or sets the Y offset for tiling picture. |
getScaleX() | Gets or sets the X scale for tiling picture. |
setScaleX(number) | Gets or sets the X scale for tiling picture. |
getScaleY() | Gets or sets the Y scale for tiling picture. |
setScaleY(number) | Gets or sets the Y scale for tiling picture. |
getMirrorType() | Gets or sets the mirror type for tiling. |
setMirrorType(MirrorType) | Gets or sets the mirror type for tiling. |
getAlignmentType() | Gets or sets the alignment for tiling. |
setAlignmentType(RectangleAlignmentType) | Gets or sets the alignment for tiling. |
isNull() | Checks whether the implementation object is null. |
constructor()
Default Constructor.
constructor();
getOffsetX()
Gets or sets the X offset for tiling picture.
getOffsetX() : number;
setOffsetX(number)
Gets or sets the X offset for tiling picture.
setOffsetX(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getOffsetY()
Gets or sets the Y offset for tiling picture.
getOffsetY() : number;
setOffsetY(number)
Gets or sets the Y offset for tiling picture.
setOffsetY(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getScaleX()
Gets or sets the X scale for tiling picture.
getScaleX() : number;
setScaleX(number)
Gets or sets the X scale for tiling picture.
setScaleX(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getScaleY()
Gets or sets the Y scale for tiling picture.
getScaleY() : number;
setScaleY(number)
Gets or sets the Y scale for tiling picture.
setScaleY(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getMirrorType()
Gets or sets the mirror type for tiling.
getMirrorType() : MirrorType;
Returns
setMirrorType(MirrorType)
Gets or sets the mirror type for tiling.
setMirrorType(value: MirrorType) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | MirrorType | The value to set. |
getAlignmentType()
Gets or sets the alignment for tiling.
getAlignmentType() : RectangleAlignmentType;
Returns
setAlignmentType(RectangleAlignmentType)
Gets or sets the alignment for tiling.
setAlignmentType(value: RectangleAlignmentType) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | RectangleAlignmentType | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;