Rectangle.getX Method¶
Module: Rectangle
Definition¶
Returns the x-coord of the TopLeft corner. Use on aligned rectangle only.
get_x(self) -> int
Returns
int
X-coord of the TopLeft corner.
Exceptions
An error has occurred during Devices Library execution.
int getX()
Returns
int
X-coord of the TopLeft corner.
Exceptions
An error has occurred during Devices Library execution.
public int GetX()
Returns
int
X-coord of the TopLeft corner.
Exceptions
An error has occurred during Devices Library execution.
public int getX() throws DevicesException
Returns
int
X-coord of the TopLeft corner.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesRectangle_GetX (
ID3_DEVICES_RECTANGLE hRectangle,
int * x)
Parameters
hRectangle
ID3_DEVICES_RECTANGLEin Handle to the Rectangle object.x
int *out X-coord of the TopLeft corner.
Returns