Class

io.scalajs.dom.html.phaser

DebugSettings

Related Doc: package phaser

Permalink

class DebugSettings extends Object

Settings used for debugging and diagnostics.

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

Instance Constructors

  1. new DebugSettings(missingImageFill: UndefOr[String] = js.undefined, debuggedTileOverfill: UndefOr[String] = js.undefined, forceFullRedraw: UndefOr[Boolean] = js.undefined, debugAlpha: UndefOr[|[Double, Int]] = js.undefined, facingEdgeStroke: UndefOr[String] = js.undefined, collidingTileOverfill: UndefOr[String] = js.undefined)

    Permalink

    missingImageFill

    A tile is rendered as a rectangle using the following fill if a valid tileset/image cannot be found. A value of null prevents additional rendering for tiles without a valid tileset image. This takes effect even when debug rendering for the layer is not enabled.

    debuggedTileOverfill

    If a Tile has Tile#debug true then, after normal tile image rendering, a rectangle with the following fill is drawn above/over it. This takes effect even when debug rendering for the layer is not enabled.

    forceFullRedraw

    When debug rendering (debug is true), and this option is enabled, a full redraw is forced and rendering optimization is suppressed.

    debugAlpha

    When debug rendering (debug is true), the tileset is initially rendered with this alpha level. This can make the tile edges clearer.

    facingEdgeStroke

    When debug rendering (debug is true), this color/stroke is used to draw "face" edges. A value of null disables coloring facing edges.

    collidingTileOverfill

    When debug rendering (debug is true), this fill is used for tiles that are collidable. A value of null disables applying the additional overfill.

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. var collidingTileOverfill: UndefOr[String]

    Permalink

    When debug rendering (debug is true), this fill is used for tiles that are collidable.

    When debug rendering (debug is true), this fill is used for tiles that are collidable. A value of null disables applying the additional overfill.

  7. var debugAlpha: UndefOr[|[Double, Int]]

    Permalink

    When debug rendering (debug is true), the tileset is initially rendered with this alpha level.

    When debug rendering (debug is true), the tileset is initially rendered with this alpha level. This can make the tile edges clearer.

  8. var debuggedTileOverfill: UndefOr[String]

    Permalink

    If a Tile has Tile#debug true then, after normal tile image rendering, a rectangle with the following fill is drawn above/over it.

    If a Tile has Tile#debug true then, after normal tile image rendering, a rectangle with the following fill is drawn above/over it. This takes effect even when debug rendering for the layer is not enabled.

  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. var facingEdgeStroke: UndefOr[String]

    Permalink

    When debug rendering (debug is true), this color/stroke is used to draw "face" edges.

    When debug rendering (debug is true), this color/stroke is used to draw "face" edges. A value of null disables coloring facing edges.

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. var forceFullRedraw: UndefOr[Boolean]

    Permalink

    When debug rendering (debug is true), and this option is enabled, a full redraw is forced and rendering optimization is suppressed.

  14. final def getClass(): Class[_]

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

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

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

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

    Permalink
    Definition Classes
    Object
  19. var missingImageFill: UndefOr[String]

    Permalink

    A tile is rendered as a rectangle using the following fill if a valid tileset/image cannot be found.

    A tile is rendered as a rectangle using the following fill if a valid tileset/image cannot be found. A value of null prevents additional rendering for tiles without a valid tileset image. This takes effect even when debug rendering for the layer is not enabled.

  20. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    Object
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  28. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. 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