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