Agora Interactive Whiteboard Java API Reference
Public Member Functions | List of all members
com.herewhite.sdk.domain.Point Class Reference
Inheritance diagram for com.herewhite.sdk.domain.Point:
com.herewhite.sdk.domain.WhiteObject

Public Member Functions

double getX ()
 
void setX (double x)
 
double getY ()
 
void setY (double y)
 
- Public Member Functions inherited from com.herewhite.sdk.domain.WhiteObject
String toString ()
 
JSONObject toJSON ()
 

Detailed Description

The Point class, for describing a point in the world coordinate system (taking the center of the initial whiteboard as the origin).

Member Function Documentation

◆ getX()

double com.herewhite.sdk.domain.Point.getX ( )

Gets the X coordinate of the point in the world coordinate system.

Returns
The X coordinate of the point in the world coordinate system.

◆ setX()

void com.herewhite.sdk.domain.Point.setX ( double  x)

Sets the X coordinate of the point in the world coordinate system.

Parameters
xThe X coordinate of the point in the world coordinate system.

◆ getY()

double com.herewhite.sdk.domain.Point.getY ( )

Gets the Y coordinate of the point in the world coordinate system.

Returns
The Y coordinate of the point in the world coordinate system.

◆ setY()

void com.herewhite.sdk.domain.Point.setY ( double  y)

Sets the Y coordinate of the point in the world coordinate system.

Parameters
yThe Y coordinate of the point in the world coordinate system.