Package

io.scalajs.dom.html

pixijs

Permalink

package pixijs

pixijs package object

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. pixijs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractFilter extends Object

    Permalink

    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" )
  2. trait AbstractRenderer extends Object

    Permalink

    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()
  3. type Alpha = Double

    Permalink
  4. class AutoDetectRendererOptions extends Object

    Permalink

    Auto-Detect Renderer Options

    Auto-Detect Renderer Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  5. class BaseTexture extends Object

    Permalink

    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" )
  6. implicit final class BaseTextureEvents extends AnyVal

    Permalink

    BaseTexture Events

  7. type BlendMode = Int

    Permalink
  8. class CanvasMaskManager extends Object

    Permalink
    Annotations
    @RawJSType() @native() @JSName( "PIXI.CanvasMaskManager" )
  9. class CanvasRenderer extends Object with AbstractRenderer

    Permalink

    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" )
  10. class CanvasRendererOptions extends Object

    Permalink

    Canvas Renderer Options

    Canvas Renderer Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  11. class Circle extends Object

    Permalink

    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" )
  12. type Color = Int

    Permalink
  13. class Container extends Object with DisplayObject

    Permalink

    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( "PIXI.Container" )
  14. trait DisplayObject extends Object

    Permalink

    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()
  15. trait DisplayObjectContainer extends Object with DisplayObject

    Permalink

    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

  16. class Ellipse extends Object

    Permalink

    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" )
  17. class FXAAFilter extends AbstractFilter

    Permalink

    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" )
  18. class FilterManager extends WebGLManager

    Permalink
    Annotations
    @RawJSType() @native() @JSName( "FilterManager" )
  19. type GraphicalShape = |[|[|[Circle, Ellipse], Polygon], Rectangle]

    Permalink
  20. class Graphics extends Container

    Permalink

    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" )
  21. class GraphicsData extends Object

    Permalink

    A GraphicsData object.

    A GraphicsData object.

    Annotations
    @RawJSType() @native() @JSName( "GraphicsData" )
  22. type LineWidth = Int

    Permalink
  23. class Matrix extends Object

    Permalink

    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

  24. type Padding = Int

    Permalink
  25. class Point extends Object

    Permalink

    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" )
  26. class Polygon extends Object

    Permalink

    The Polygon object

    The Polygon object

    Annotations
    @RawJSType() @native() @JSName( "Polygon" )
  27. class Quad extends Object

    Permalink

    Helper class to create a quad

    Helper class to create a quad

    Annotations
    @RawJSType() @native() @JSName( "Quad" )
  28. class Rectangle extends Object

    Permalink

    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" )
  29. class RenderTarget extends Object

    Permalink
    Annotations
    @RawJSType() @native() @JSName( "RenderTarget" )
  30. type Resolution = Int

    Permalink
  31. class ResourceLoader extends Object

    Permalink
    Annotations
    @RawJSType() @native() @JSName( "ResourceLoader" )
  32. class Sprite extends Container

    Permalink
    Annotations
    @RawJSType() @native() @JSName( "PIXI.Sprite" )
  33. class Text extends Object

    Permalink

    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" )
  34. class TextStyleOptions extends Object

    Permalink

    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()
  35. class Texture extends BaseTexture

    Permalink

    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" )
  36. class Ticker extends Object

    Permalink

    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" )
  37. class WebGLManager extends Object

    Permalink
    Annotations
    @RawJSType() @native() @JSName( "WebGLManager" )
  38. class WebGLRenderer extends Object with AbstractRenderer

    Permalink

    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" )
  39. class WebGLRendererOptions extends Object

    Permalink

    WebGL Renderer Options

    WebGL Renderer Options

    Annotations
    @RawJSType() @ScalaJSDefined()

Value Members

  1. object BaseTexture extends Object

    Permalink

    BaseTexture Singleton

    BaseTexture Singleton

    Annotations
    @native() @JSName( "PIXI.BaseTexture" )
  2. object Matrix extends Object

    Permalink

    Matrix Singleton

    Matrix Singleton

    Annotations
    @native() @JSName( "Matrix" )
  3. object PIXI extends Object

    Permalink

    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

    http://pixijs.github.io/docs

  4. object Texture extends Object

    Permalink

    Texture Singleton

    Texture Singleton

    Annotations
    @native() @JSName( "Texture" )

Inherited from AnyRef

Inherited from Any

Ungrouped