Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
PIXI
BaseTexture
Class BaseTexture
Hierarchy
EventTarget
BaseTexture
Index
Constructor methods
constructor
Properties
height
source
width
Methods
addEventListener
destroy
dispatchEvent
fromImage
removeEventListener
Constructor methods
constructor
(
source
:
HTMLImageElement
)
:
BaseTexture
Parameters
source:
HTMLImageElement
Returns
BaseTexture
constructor
(
source
:
HTMLCanvasElement
)
:
BaseTexture
Parameters
source:
HTMLCanvasElement
Returns
BaseTexture
Properties
public
height
:
number
public
source
:
string
public
width
:
number
Methods
public
addEventListener
(
type
:
string
, listener
:
(event: PIXI.IEvent) => void
)
:
any
Parameters
type:
string
listener:
(event: PIXI.IEvent) => void
Returns
any
public
destroy
(
)
public
dispatchEvent
(
event
:
IEvent
)
:
any
Parameters
event:
IEvent
Returns
any
public
static
fromImage
(
imageUrl
:
string
, crossorigin
?:
boolean
)
:
BaseTexture
Parameters
imageUrl:
string
crossorigin?:
boolean
optional
Returns
BaseTexture
public
removeEventListener
(
type
:
string
, listener
:
(event: PIXI.IEvent) => void
)
:
any
Parameters
type:
string
listener:
(event: PIXI.IEvent) => void
Returns
any
Globals
PIXI
PIXI.PolyK
BaseTextureCache
FrameCache
TextureCache
blendModes
gl
texturesToDestroy
texturesToUpdate
IBasicCallback
IBitmapTextStyle
IEvent
IHitArea
IInteractionDataCallback
IPixiRenderer
ITextStyle
AssetLoader
BaseTexture
constructor
height
source
width
addEventListener
destroy
dispatchEvent
fromImage
removeEventListener
BitmapFontLoader
BitmapText
CanvasRenderer
Circle
CustomRenderable
DisplayObject
DisplayObjectContainer
Ellipse
EventTarget
Graphics
ImageLoader
InteractionData
InteractionManager
JsonLoader
MovieClip
Point
Polygon
Rectangle
RenderTexture
Sprite
SpriteSheetLoader
Stage
Text
Texture
TilingSprite
WebGLBatch
WebGLRenderGroup
WebGLRenderer
FilterBlock
MaskFilter
autoDetectRenderer
runList