x4Trace Documentation v1.0
Loading...
Searching...
No Matches
IGraphics.GInterface.IRectangle Struct Reference

Rectagle for drawing. More...

Public Member Functions

 IRectangle (int x, int y, int width, int height)
 Constructor.
 
bool Contains (float x, float y)
 Returns true when rectangle contains the coordinate.
 

Public Attributes

int x
 X coordinate.
 
int y
 Y coordinate.
 
int width
 Width.
 
int height
 Height.
 

Detailed Description

Rectagle for drawing.

Constructor & Destructor Documentation

◆ IRectangle()

IGraphics.GInterface.IRectangle.IRectangle ( int x,
int y,
int width,
int height )

Constructor.

Parameters
xX coordinate.
yY coordinate.
widthWidth.
heightHeight.

Member Function Documentation

◆ Contains()

bool IGraphics.GInterface.IRectangle.Contains ( float x,
float y )

Returns true when rectangle contains the coordinate.

Parameters
xX coordinate.
yY coordinate.
Returns
True when contains.

The documentation for this struct was generated from the following file: