API Documentation for: 2.3.1
Show:

Texture Class

Defined in: Texture:144
Namespace: cloudkid

A Texture - a specific portion of an image that can then be drawn by a Bitmap. This class is hidden within TextureAtlas, and can't be manually created.

Item Index

Properties

frame

createjs.Rectangle

Defined in frame:157

The frame rectangle within the image.

height

Number

Defined in height:177

The height of the untrimmed texture.

image

Image | HTMLCanvasElement

Defined in image:151

The image element that this texture references.

offset

createjs.Point

Defined in offset:167

The offset that the trimmed sprite should be placed at to restore it to the untrimmed position.

trimmed

Boolean

Defined in trimmed:162

If this texture has been trimmed.

width

Number

Defined in width:172

The width of the untrimmed texture.