Skip to content
Reference > Classes

Point

Definition

Point var = .... ;

Extends

Extended By

None

Method Summary

Owner Name Return Type Description
Point constructor(x, y) Point creates a new Rectangle
Object getClassName() String Returns the string name of this object's class type.
Point getX() Integer Get the x position
Point getY() Integer Get the y position
Object toJson() String Returns a json representation of this object.

Method Definitions


constructor(x,y)

Point point = new Point(Integer x, Integer y)

Description

creates a new Rectangle

Parameter Definition

Name Type Description
x Integer 
y Integer 

getX()

Integer Point::getX()

Description

Get the x position


getY()

Integer Point::getY()

Description

Get the y position