frame :Rectangle The frame specifies the region of the base texture that this texture uses
new Texture(baseTexture, frame, crop, trim) A texture stores the information
destroy(destroyBase) Destroys this texture Parameters Name
requiresReTint : boolean This will let a renderer know that a tinted parent has updated its texture.
trim :Rectangle The texture trim data. Source code:
width : number The width of the Texture in pixels. Source code:
isTiling : boolean Is this a tiling texture? As used by the likes of a TilingSprite. Source
setFrame(frame) Specifies the region of the baseTexture that this texture will use. Parameters
<static> fromCanvas(canvas, scaleMode) → {
crop :Rectangle This is the area of the BaseTexture image to actually copy to the Canvas / WebGL when rendering,irrespective
Page 1 of 2