t

io.scalajs.dom.html.pixijs

DisplayObject

trait DisplayObject extends Object

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()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DisplayObject
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val alpha: Alpha

    The alpha value of the group container.

  5. val anchor: Point

  6. def angle: Double

    The angle of rotation of the group container, in degrees.

    The angle of rotation of the group container, in degrees. This adjusts the group itself by modifying its local rotation transform. This has no impact on the rotation/angle properties of the children, but it will update their worldTransform and on-screen orientation and position.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val cacheAsBitmap: Boolean

    Set if this display object is cached as a bitmap.

    Set if this display object is cached as a bitmap. This basically takes a snap shot of the display object as it is at that moment. It can provide a performance benefit for complex static displayObjects. To remove simply set this property to 'null'

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def destroy(): Unit

    Base destroy method for generic display objects.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  23. def setParent(container: Container): Container

    Set the parent Container of this DisplayObject.

    Set the parent Container of this DisplayObject.

    container

    The Container to add this DisplayObject to.

    returns

    The Container that this DisplayObject was added to.

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toGlobal(position: Point): Point

    Calculates the global position of the display object.

    Calculates the global position of the display object.

    position

    The world origin to calculate from.

    returns

    A point object representing the position of this object.

  26. def toLocal(position: Point, from: DisplayObject = null): Point

    Calculates the local position of the display object relative to another point.

    Calculates the local position of the display object relative to another point.

    position

    The world origin to calculate from.

    from

    The DisplayObject to calculate the global position from.

    returns

    A point object representing the position of this object.

  27. def toLocaleString(): String
    Definition Classes
    Object
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def valueOf(): Any
    Definition Classes
    Object
  30. val visible: Boolean

  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def worldTransform: Matrix

    Current transform of the object based on world (parent) factors

  35. def worldVisible: Boolean

    Indicates if the sprite is globally visible.

  36. def x: Double

    The position of the displayObject on the x axis relative to the local coordinates of the parent.

  37. def x_=(x: Double): Unit
  38. def y: Double

    The position of the displayObject on the y axis relative to the local coordinates of the parent.

  39. def y_=(y: Double): Unit

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped