Tile#alpha

alpha : number The alpha value at which this tile is drawn to the canvas. Source code: tilemap/Tile.js (Line 84)

Texture.fromCanvas()

<static> fromCanvas(canvas, scaleMode) → {PIXI.Texture} Helper function that creates a new a Texture based on the given canvas element. Parameters Name Type Description canvas Canvas The canvas element source of the texture scaleMode Number See {{#crossLink "PIXI/scaleModes:property"}}PIXI.scaleModes{{/crossLink}} for possible values Returns PIXI.Texture - Source code: pixi/textures/Texture.js (Line 249)

Texture#width

width : number The width of the Texture in pixels. Source code: pixi/textures/Texture.js (Line 112)

Texture#valid

valid : boolean This will let the renderer know if the texture is valid. If it's not then it cannot be rendered. Source code: pixi/textures/Texture.js (Line 71)

Texture#trim

trim :Rectangle The texture trim data. Source code: pixi/textures/Texture.js (Line 63)

Texture#Texture

new Texture(baseTexture, frame, crop, trim) A texture stores the information that represents an image or part of an image. It cannot be addedto the display list directly. Instead use it as the texture for a PIXI.Sprite. If no frame is provided then the whole image is used. Parameters Name Type Argument Description baseTexture PIXI.BaseTexture The base texture source to create the texture from frame Rectangle The rectangle frame of the texture to show crop Rectangle <optional>

Texture#setFrame()

setFrame(frame) Specifies the region of the baseTexture that this texture will use. Parameters Name Type Description frame Rectangle The frame of the texture to set it to Source code: pixi/textures/Texture.js (Line 178)

Texture#requiresUpdate

requiresUpdate : boolean This will let a renderer know that a texture has been updated (used mainly for webGL uv updates) Source code: pixi/textures/Texture.js (Line 87)

Texture#requiresReTint

requiresReTint : boolean This will let a renderer know that a tinted parent has updated its texture. Source code: pixi/textures/Texture.js (Line 95)

Texture#noFrame

noFrame : boolean Does this Texture have any frame data assigned to it? Source code: pixi/textures/Texture.js (Line 28)