package pixijs
pixijs package object
- Alphabetic
- By Inheritance
- pixijs
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
class
AbstractFilter
extends Object
This is the base class for creating a PIXI filter.
This is the base class for creating a PIXI filter. Currently only WebGL supports filters. If you want to make a custom filter this should be your base class.
- Annotations
- @RawJSType() @native() @JSName( "PIXI.AbstractFilter" )
-
trait
AbstractRenderer
extends Object
This trait serves as a base class for Canvas and WEBGL renderers
This trait serves as a base class for Canvas and WEBGL renderers
- Annotations
- @RawJSType() @native()
- type Alpha = Double
-
class
AutoDetectRendererOptions
extends Object
Auto-Detect Renderer Options
Auto-Detect Renderer Options
- Annotations
- @RawJSType() @ScalaJSDefined()
-
class
BaseTexture
extends Object
A texture stores the information that represents an image.
A texture stores the information that represents an image. All textures have a base texture.
- Annotations
- @RawJSType() @native() @JSName( "PIXI.BaseTexture" )
-
implicit final
class
BaseTextureEvents
extends AnyVal
BaseTexture Events
- type BlendMode = Int
-
class
CanvasMaskManager
extends Object
- Annotations
- @RawJSType() @native() @JSName( "PIXI.CanvasMaskManager" )
-
class
CanvasRenderer
extends Object with AbstractRenderer
The CanvasRenderer draws the scene and all its content onto a 2d canvas.
The CanvasRenderer draws the scene and all its content onto a 2d canvas. This renderer should be used for browsers that do not support webGL. Don't forget to add the CanvasRenderer.view to your DOM or you will not see anything :)
- Annotations
- @RawJSType() @native() @JSName( "CanvasRenderer" )
-
class
CanvasRendererOptions
extends Object
Canvas Renderer Options
Canvas Renderer Options
- Annotations
- @RawJSType() @ScalaJSDefined()
-
class
Circle
extends Object
The Circle object can be used to specify a hit area for displayObjects.
The Circle object can be used to specify a hit area for displayObjects.
- Annotations
- @RawJSType() @native() @JSName( "Circle" )
- type Color = Int
-
class
Container
extends Object with DisplayObject
A Container represents a collection of display objects.
A Container represents a collection of display objects. It is the base class of all display objects that act as a container for other objects.
- Annotations
- @RawJSType() @native() @JSName( "Container" )
-
trait
DisplayObject
extends Object
The base class for all objects that are rendered on the screen.
The base class for all objects that are rendered on the screen. This is an abstract class and should not be used on its own rather it should be extended.
- Annotations
- @RawJSType() @native()
-
trait
DisplayObjectContainer
extends Object with DisplayObject
A DisplayObjectContainer represents a collection of display objects.
A DisplayObjectContainer represents a collection of display objects. It is the base class of all display objects that act as a container for other objects.
- Annotations
- @RawJSType() @native()
- See also
http://phaser.io/docs/2.6.2/PIXI.DisplayObjectContainer.html
-
class
Ellipse
extends Object
The Ellipse object can be used to specify a hit area for displayObjects
The Ellipse object can be used to specify a hit area for displayObjects
- Annotations
- @RawJSType() @native() @JSName( "Ellipse" )
-
class
FXAAFilter
extends AbstractFilter
Basic FXAA implementation based on the code on geeks3d.com with the modification that the texture2DLod stuff was removed since it's unsupported by WebGL.
Basic FXAA implementation based on the code on geeks3d.com with the modification that the texture2DLod stuff was removed since it's unsupported by WebGL.
- Annotations
- @RawJSType() @native() @JSName( "FXAAFilter" )
-
class
FilterManager
extends WebGLManager
- Annotations
- @RawJSType() @native() @JSName( "FilterManager" )
- type GraphicalShape = |[|[|[Circle, Ellipse], Polygon], Rectangle]
-
class
Graphics
extends Container
The Graphics class contains methods used to draw primitive shapes such as lines, circles and rectangles to the display, and to color and fill them.
The Graphics class contains methods used to draw primitive shapes such as lines, circles and rectangles to the display, and to color and fill them.
- Annotations
- @RawJSType() @native() @JSName( "Graphics" )
-
class
GraphicsData
extends Object
A GraphicsData object.
A GraphicsData object.
- Annotations
- @RawJSType() @native() @JSName( "GraphicsData" )
- type LineWidth = Int
-
class
Matrix
extends Object
The pixi Matrix class as an object, which makes it a lot faster, here is a representation of it:
The pixi Matrix class as an object, which makes it a lot faster, here is a representation of it:
| a | b | tx| +---+---+---+ | c | d | ty| +---+---+---+ | 0 | 0 | 1 |
- Annotations
- @RawJSType() @native() @JSName( "Matrix" )
- See also
https://phaser.io/docs/2.2.2/PIXI.Matrix.html
- type Padding = Int
-
class
Point
extends Object
The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.
- Annotations
- @RawJSType() @native() @JSName( "Point" )
-
class
Polygon
extends Object
The Polygon object
The Polygon object
- Annotations
- @RawJSType() @native() @JSName( "Polygon" )
-
class
Quad
extends Object
Helper class to create a quad
Helper class to create a quad
- Annotations
- @RawJSType() @native() @JSName( "Quad" )
-
class
Rectangle
extends Object
The Rectangle object is an area defined by its position, as indicated by its top-left corner point (x, y) and by its width and its height.
The Rectangle object is an area defined by its position, as indicated by its top-left corner point (x, y) and by its width and its height.
- Annotations
- @RawJSType() @native() @JSName( "Rectangle" )
-
class
RenderTarget
extends Object
- Annotations
- @RawJSType() @native() @JSName( "RenderTarget" )
- type Resolution = Int
-
class
ResourceLoader
extends Object
- Annotations
- @RawJSType() @native() @JSName( "ResourceLoader" )
-
class
Sprite
extends Container
- Annotations
- @RawJSType() @native() @JSName( "Sprite" )
-
class
Text
extends Object
A Text Object will create a line or multiple lines of text.
A Text Object will create a line or multiple lines of text. To split a line you can use '\n' in your text string, or add a wordWrap property set to true and and wordWrapWidth property with a value in the style object.
- Annotations
- @RawJSType() @native() @JSName( "Text" )
-
class
TextStyleOptions
extends Object
A Text Object will create a line or multiple lines of text.
A Text Object will create a line or multiple lines of text. To split a line you can use '\n' in your text string, or add a wordWrap property set to true and and wordWrapWidth property with a value in the style object.
- Annotations
- @RawJSType() @ScalaJSDefined()
-
class
Texture
extends BaseTexture
A texture stores the information that represents an image or part of an image.
A texture stores the information that represents an image or part of an image. It cannot be added to the display list directly. Instead use it as the texture for a Sprite. If no frame is provided then the whole image is used.
- Annotations
- @RawJSType() @native() @JSName( "Texture" )
-
class
Ticker
extends Object
A Ticker class that runs an update loop that other objects listen to.
A Ticker class that runs an update loop that other objects listen to. This class is composed around an EventEmitter object to add listeners meant for execution on the next requested animation frame. Animation frames are requested only when necessary, e.g. When the ticker is started and the emitter has listeners.
- Annotations
- @RawJSType() @native() @JSName( "PIXI.Tickers.Ticker" )
-
class
WebGLManager
extends Object
- Annotations
- @RawJSType() @native() @JSName( "WebGLManager" )
-
class
WebGLRenderer
extends Object with AbstractRenderer
The WebGLRenderer draws the scene and all its content onto a webGL enabled canvas.
The WebGLRenderer draws the scene and all its content onto a webGL enabled canvas. This renderer should be used for browsers that support webGL. This Render works by automatically managing webGLBatchs. So no need for Sprite Batches or Sprite Clouds. Don't forget to add the view to your DOM or you will not see anything :)
- Annotations
- @RawJSType() @native() @JSName( "WebGLRenderer" )
-
class
WebGLRendererOptions
extends Object
WebGL Renderer Options
WebGL Renderer Options
- Annotations
- @RawJSType() @ScalaJSDefined()
Value Members
-
object
BaseTexture
extends Object
BaseTexture Singleton
BaseTexture Singleton
- Annotations
- @native() @JSName( "PIXI.BaseTexture" )
-
object
Matrix
extends Object
Matrix Singleton
Matrix Singleton
- Annotations
- @native() @JSName( "Matrix" )
-
object
PIXI
extends Object
Pixi.js — A 2D JavaScript Renderer
Pixi.js — A 2D JavaScript Renderer
The aim of this project is to provide a fast lightweight 2D library that works across all devices. The Pixi renderer allows everyone to enjoy the power of hardware acceleration without prior knowledge of WebGL. Also, it's fast. Really fast.
If you want to keep up to date with the latest pixi.js news then feel free to follow us on twitter (@doormat23, and @rolnaaba) and we will keep you posted! You can also check back on our site as any breakthroughs will be posted up there too!
- Annotations
- @native() @JSName( "PIXI" )
- Version
3.0
- See also
-
object
Texture
extends Object
Texture Singleton
Texture Singleton
- Annotations
- @native() @JSName( "Texture" )