springroll.easeljs.Texture Class

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.

frame

createjs.Rectangle

Defined in frame:201

The frame rectangle within the image.

height

Number

Defined in height:221

The height of the untrimmed texture.

image

Image | HTMLCanvasElement

Defined in image:189

The image element that this texture references.

offset

createjs.Point

Defined in offset:211

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

rotated

Boolean

Defined in rotated:194

If this texture has been rotated (90 degrees clockwise).

trimmed

Boolean

Defined in trimmed:206

If this texture has been trimmed.

width

Number

Defined in width:216

The width of the untrimmed texture.