Class

io.scalajs.dom.html.pixijs

CanvasRendererOptions

Related Doc: package pixijs

Permalink

class CanvasRendererOptions extends Object

Canvas Renderer Options

Annotations
@RawJSType() @ScalaJSDefined()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CanvasRendererOptions
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CanvasRendererOptions(view: UndefOr[HTMLCanvasElement] = js.undefined, transparent: UndefOr[Boolean] = js.undefined, autoResize: UndefOr[Boolean] = js.undefined, antialias: UndefOr[Boolean] = js.undefined, resolution: UndefOr[Resolution] = js.undefined, clearBeforeRender: UndefOr[Boolean] = js.undefined, roundPixels: UndefOr[Boolean] = js.undefined)

    Permalink

    view

    the canvas to use as a view, optional

    transparent

    If the render view is transparent, default false

    autoResize

    If the render view is automatically resized, default false

    antialias

    sets antialias. If not available natively then FXAA antialiasing is used

    resolution

    the resolution of the renderer retina would be 2

    clearBeforeRender

    This sets if the CanvasRenderer will clear the canvas or not before the new render pass. If you wish to set this to false, you must set preserveDrawingBuffer to true.

    roundPixels

    If true Pixi will Math.floor() x/y values when rendering, stopping pixel interpolation.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var antialias: UndefOr[Boolean]

    Permalink

    sets antialias.

    sets antialias. If not available natively then FXAA antialiasing is used

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. var autoResize: UndefOr[Boolean]

    Permalink

    If the render view is automatically resized, default false

  7. var clearBeforeRender: UndefOr[Boolean]

    Permalink

    This sets if the CanvasRenderer will clear the canvas or not before the new render pass.

    This sets if the CanvasRenderer will clear the canvas or not before the new render pass. If you wish to set this to false, you must set preserveDrawingBuffer to true.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  21. var resolution: UndefOr[Resolution]

    Permalink

    the resolution of the renderer retina would be 2

  22. var roundPixels: UndefOr[Boolean]

    Permalink

    If true Pixi will Math.floor() x/y values when rendering, stopping pixel interpolation.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. var transparent: UndefOr[Boolean]

    Permalink

    If the render view is transparent, default false

  27. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  28. var view: UndefOr[HTMLCanvasElement]

    Permalink

    the canvas to use as a view, optional

  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped