Class/Object

io.scalajs.dom.html.phaser

Ellipse

Related Docs: object Ellipse | package phaser

Permalink

class Ellipse extends Object

Creates a Ellipse object. A curve on a plane surrounding two focal points.

Annotations
@RawJSType() @native() @JSName( "Phaser.Ellipse" )
See also

http://phaser.io/docs/2.6.2/Phaser.Ellipse.html

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ellipse
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Ellipse(x: Double, y: Double, width: Double, height: Double)

    Permalink

    x

    The X coordinate of the upper-left corner of the framing rectangle of this ellipse.

    y

    The Y coordinate of the upper-left corner of the framing rectangle of this ellipse.

    width

    The overall width of this ellipse.

    height

    The overall height of this ellipse.

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(output: Phaser.Ellipse = js.native): Phaser.Ellipse

    Permalink

    Returns a new Ellipse object with the same values for the x, y, width, and height properties as this Ellipse object.

    Returns a new Ellipse object with the same values for the x, y, width, and height properties as this Ellipse object.

    output

    Optional Ellipse object. If given the values will be set into the object, otherwise a brand new Ellipse object will be created and returned.

    returns

    The cloned Ellipse object.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contains(x: Double, y: Double): Boolean

    Permalink

    Return true if the given x/y coordinates are within this Ellipse object.

    Return true if the given x/y coordinates are within this Ellipse object.

    x

    The X value of the coordinate to test.

    y

    The Y value of the coordinate to test.

    returns

    True if the coordinates are within this ellipse, otherwise false.

  8. def copyFrom(source: Any): Phaser.Ellipse

    Permalink

    Copies the x, y, width and height properties from any given object to this Ellipse.

    Copies the x, y, width and height properties from any given object to this Ellipse.

    source

    The object to copy from.

    returns

    This Ellipse object.

  9. def copyTo(dest: Any): Any

    Permalink

    Copies the x, y, width and height properties from this Ellipse to any given object.

    Copies the x, y, width and height properties from this Ellipse to any given object.

    dest

    The object to copy to.

    returns

    This dest object.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def getBounds(): Phaser.Rectangle

    Permalink

    Returns the framing rectangle of the ellipse as a Phaser.Rectangle object.

    Returns the framing rectangle of the ellipse as a Phaser.Rectangle object.

    returns

    The bounds of the Ellipse.

  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. var height: Double

    Permalink

    The overall height of this ellipse.

  18. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Object
  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. def random(out: Phaser.Point = js.native): Phaser.Point

    Permalink

    Returns a uniformly distributed random point from anywhere within this Ellipse.

    Returns a uniformly distributed random point from anywhere within this Ellipse.

    out

    A Phaser.Point, or any object with public x/y properties, that the values will be set in. If no object is provided a new Phaser.Point object will be created. In high performance areas avoid this by re-using an existing object.

    returns

    An object containing the random point in its x and y properties.

  25. def setTo(x: Double, y: Double, width: Double, height: Double): Phaser.Ellipse

    Permalink

    Sets the members of the Ellipse to the specified values.

    Sets the members of the Ellipse to the specified values.

    x

    The X coordinate of the upper-left corner of the framing rectangle of this ellipse.

    y

    The Y coordinate of the upper-left corner of the framing rectangle of this ellipse.

    width

    The overall width of this ellipse.

    height

    The overall height of this ellipse.

    returns

    This Ellipse object.

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

    Permalink
    Definition Classes
    AnyRef
  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. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. var width: Double

    Permalink

    The overall width of this ellipse.

  34. var x: Double

    Permalink

    The X coordinate of the upper-left corner of the framing rectangle of this ellipse.

  35. var y: Double

    Permalink

    The Y coordinate of the upper-left corner of the framing rectangle of this ellipse.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped