Interface: TilingSpriteOptions

TilingSpriteOptions

Options for the TilingSprite constructor.

Properties:
Name Type Default Description
anchor PointData {x: 0, y: 0}

The anchor point of the sprite

tilePosition PointData {x: 0, y: 0}

The offset of the image that is being tiled.

tileRotation number 0

The rotation of the image that is being tiled.

tileScale PointData {x: 1, y: 1}

Scaling of the image that is being tiled.

Extends

Members

anchor PointData

The anchor point of the sprite

Default Value:
  • {x: 0, y: 0}

tilePosition PointData

The offset of the image that is being tiled.

Default Value:
  • {x: 0, y: 0}

tileRotation number

The rotation of the image that is being tiled.

Default Value:
  • 0

tileScale PointData

Scaling of the image that is being tiled.

Default Value:
  • {x: 1, y: 1}