TilePicOption
TilePicOption class
Represents tile picture as texture.
class TilePicOption;
Constructors
Constructor | Description |
---|---|
constructor() | Default Constructor. |
Properties
Property | Type | Description |
---|---|---|
offsetX | number | Gets or sets the X offset for tiling picture. |
offsetY | number | Gets or sets the Y offset for tiling picture. |
scaleX | number | Gets or sets the X scale for tiling picture. |
scaleY | number | Gets or sets the Y scale for tiling picture. |
mirrorType | MirrorType | Gets or sets the mirror type for tiling. |
alignmentType | RectangleAlignmentType | Gets or sets the alignment for tiling. |
Methods
Method | Description |
---|---|
getOffsetX() | @deprecated. Please use the ‘offsetX’ property instead. Gets or sets the X offset for tiling picture. |
setOffsetX(number) | @deprecated. Please use the ‘offsetX’ property instead. Gets or sets the X offset for tiling picture. |
getOffsetY() | @deprecated. Please use the ‘offsetY’ property instead. Gets or sets the Y offset for tiling picture. |
setOffsetY(number) | @deprecated. Please use the ‘offsetY’ property instead. Gets or sets the Y offset for tiling picture. |
getScaleX() | @deprecated. Please use the ‘scaleX’ property instead. Gets or sets the X scale for tiling picture. |
setScaleX(number) | @deprecated. Please use the ‘scaleX’ property instead. Gets or sets the X scale for tiling picture. |
getScaleY() | @deprecated. Please use the ‘scaleY’ property instead. Gets or sets the Y scale for tiling picture. |
setScaleY(number) | @deprecated. Please use the ‘scaleY’ property instead. Gets or sets the Y scale for tiling picture. |
getMirrorType() | @deprecated. Please use the ‘mirrorType’ property instead. Gets or sets the mirror type for tiling. |
setMirrorType(MirrorType) | @deprecated. Please use the ‘mirrorType’ property instead. Gets or sets the mirror type for tiling. |
getAlignmentType() | @deprecated. Please use the ‘alignmentType’ property instead. Gets or sets the alignment for tiling. |
setAlignmentType(RectangleAlignmentType) | @deprecated. Please use the ‘alignmentType’ property instead. Gets or sets the alignment for tiling. |
isNull() | Checks whether the implementation object is null. |
constructor()
Default Constructor.
constructor();
offsetX
Gets or sets the X offset for tiling picture.
offsetX : number;
offsetY
Gets or sets the Y offset for tiling picture.
offsetY : number;
scaleX
Gets or sets the X scale for tiling picture.
scaleX : number;
scaleY
Gets or sets the Y scale for tiling picture.
scaleY : number;
mirrorType
Gets or sets the mirror type for tiling.
mirrorType : MirrorType;
alignmentType
Gets or sets the alignment for tiling.
alignmentType : RectangleAlignmentType;
getOffsetX()
@deprecated. Please use the ‘offsetX’ property instead. Gets or sets the X offset for tiling picture.
getOffsetX() : number;
setOffsetX(number)
@deprecated. Please use the ‘offsetX’ property instead. Gets or sets the X offset for tiling picture.
setOffsetX(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getOffsetY()
@deprecated. Please use the ‘offsetY’ property instead. Gets or sets the Y offset for tiling picture.
getOffsetY() : number;
setOffsetY(number)
@deprecated. Please use the ‘offsetY’ property instead. Gets or sets the Y offset for tiling picture.
setOffsetY(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getScaleX()
@deprecated. Please use the ‘scaleX’ property instead. Gets or sets the X scale for tiling picture.
getScaleX() : number;
setScaleX(number)
@deprecated. Please use the ‘scaleX’ property instead. Gets or sets the X scale for tiling picture.
setScaleX(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getScaleY()
@deprecated. Please use the ‘scaleY’ property instead. Gets or sets the Y scale for tiling picture.
getScaleY() : number;
setScaleY(number)
@deprecated. Please use the ‘scaleY’ property instead. Gets or sets the Y scale for tiling picture.
setScaleY(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getMirrorType()
@deprecated. Please use the ‘mirrorType’ property instead. Gets or sets the mirror type for tiling.
getMirrorType() : MirrorType;
Returns
setMirrorType(MirrorType)
@deprecated. Please use the ‘mirrorType’ property instead. Gets or sets the mirror type for tiling.
setMirrorType(value: MirrorType) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | MirrorType | The value to set. |
getAlignmentType()
@deprecated. Please use the ‘alignmentType’ property instead. Gets or sets the alignment for tiling.
getAlignmentType() : RectangleAlignmentType;
Returns
setAlignmentType(RectangleAlignmentType)
@deprecated. Please use the ‘alignmentType’ property instead. 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;