API Docs for: 1.3.0
Show:

Ellipse Class

Module: PIXI

Constructor

Ellipse

(
  • x
  • y
  • width
  • height
)

Parameters:

  • x Number

    The X coord of the upper-left corner of the framing rectangle of this circle

  • y Number

    The Y coord of the upper-left corner of the framing rectangle of this circle

  • width Number

    The overall height of this ellipse

  • height Number

    The overall width of this ellipse

Item Index

Methods

Properties

Methods

clone

()

Returns:

a copy of the polygon

contains

(
  • x
  • y
)

Parameters:

  • x Number

    The X coord of the point to test

  • y Number

    The Y coord of the point to test

Returns:

if the x/y coords are within this polygon

Properties

height

Number

Default: 0

width

Number

Default: 0

x

Number

Default: 0

y

Number

Default: 0