Inherits from JavaScript Object
Location aphid.core.Point

Overview of Constructors

Overview of Tasks

Attributes

  • Name
  • x
  • y
  • Type
  • float
  • float
  • Writability
  • readwrite
  • readwrite

Functions

  • Return Type
  • Point
  • bool
  • void
  • string

Class Attributes

  • Type
  • Point
  • Writability
  • readonly

Constructors

Point(x, y)

new Point(float x, float y)

Parameters

float x
float y

Point(p)

new Point(Point p)

Parameters

Non-null Point p

Point()

new Point()

Attributes

x

readwrite float x

y

readwrite float y

Functions

copy()

Point copy()

Return Value: Point

equals(p)

bool equals(Point p)

Parameters

Non-null Point p

Return Value: bool

setXY(x, y)

void setXY(float x, float y)

Parameters

float x
float y

toString()

string toString()

Return Value: string

Class Attributes

Point.zero

Non-null readonly Point zero