Trait

io.scalajs.dom.html.pixijs

DisplayObject

Related Doc: package pixijs

Permalink

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
Known Subclasses
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

    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 alpha: Alpha

    Permalink

    The alpha value of the group container.

  5. var anchor: Point

    Permalink

  6. def angle: Double

    Permalink

    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

    Permalink
    Definition Classes
    Any
  8. var cacheAsBitmap: Boolean

    Permalink

    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

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

    Permalink

    Base destroy method for generic display objects.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    Object
  23. def setParent(container: Container): Container

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  25. def toGlobal(position: Point): Point

    Permalink

    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

    Permalink

    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

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

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

    Permalink
    Definition Classes
    Object
  30. var visible: Boolean

    Permalink

  31. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def worldTransform: Matrix

    Permalink

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

  35. def worldVisible: Boolean

    Permalink

    Indicates if the sprite is globally visible.

  36. def x: Double

    Permalink

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

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

    Permalink
  38. def y: Double

    Permalink

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

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

    Permalink

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped