TilePicOption

TilePicOption class

Represents tile picture as texture.

class TilePicOption;

Constructors

ConstructorDescription
constructor()Default Constructor.

Properties

PropertyTypeDescription
offsetXnumberGets or sets the X offset for tiling picture.
offsetYnumberGets or sets the Y offset for tiling picture.
scaleXnumberGets or sets the X scale for tiling picture.
scaleYnumberGets or sets the Y scale for tiling picture.
mirrorTypeMirrorTypeGets or sets the mirror type for tiling.
alignmentTypeRectangleAlignmentTypeGets or sets the alignment for tiling.

Methods

MethodDescription
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:

ParameterTypeDescription
valuenumberThe 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:

ParameterTypeDescription
valuenumberThe 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:

ParameterTypeDescription
valuenumberThe 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:

ParameterTypeDescription
valuenumberThe value to set.

getMirrorType()

@deprecated. Please use the ‘mirrorType’ property instead. Gets or sets the mirror type for tiling.

getMirrorType() : MirrorType;

Returns

MirrorType

setMirrorType(MirrorType)

@deprecated. Please use the ‘mirrorType’ property instead. Gets or sets the mirror type for tiling.

setMirrorType(value: MirrorType) : void;

Parameters:

ParameterTypeDescription
valueMirrorTypeThe value to set.

getAlignmentType()

@deprecated. Please use the ‘alignmentType’ property instead. Gets or sets the alignment for tiling.

getAlignmentType() : RectangleAlignmentType;

Returns

RectangleAlignmentType

setAlignmentType(RectangleAlignmentType)

@deprecated. Please use the ‘alignmentType’ property instead. Gets or sets the alignment for tiling.

setAlignmentType(value: RectangleAlignmentType) : void;

Parameters:

ParameterTypeDescription
valueRectangleAlignmentTypeThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;