API Docs for: 1.4.3
Show:

Point Class

Module: PIXI

The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis.

Constructor

Point

(
  • x
  • y
)

Parameters:

  • x Number

    position of the point

  • y Number

    position of the point

Item Index

Methods

Properties

Methods

clone

() Point

Creates a clone of this point

Returns:

Point:

a copy of the point

Properties

x

Number

Default: 0

y

Number

Default: 0