This is an additional class which represents a rectangle. It is defined by two points.
More...
|
| Rect (double x1, double y1, double x2, double y2) |
| Constructs a new Rect object by using two point. More...
|
|
|
double | X1 [get, set] |
| Sets or gets the X position of the first point. More...
|
|
double | Y1 [get, set] |
| Sets or gets the Y position of the first point. More...
|
|
double | X2 [get, set] |
| Sets or gets the X position of the second point. More...
|
|
double | Y2 [get, set] |
| Sets or gets the Y position of the second point. More...
|
|
Point | Center [get] |
| Returns the center of the rectangle. More...
|
|
double | MinX [get] |
| Returns the minimum X value. More...
|
|
double | MinY [get] |
| Returns the minimum Y value. More...
|
|
double | MaxX [get] |
| Returns the maximum X value. More...
|
|
double | MaxY [get] |
| Returns the maximum Y value. More...
|
|
double | Width [get] |
|
double | Height [get] |
|
This is an additional class which represents a rectangle. It is defined by two points.
◆ Rect()
GCodeAPI.Rect.Rect |
( |
double |
x1, |
|
|
double |
y1, |
|
|
double |
x2, |
|
|
double |
y2 |
|
) |
| |
Constructs a new Rect object by using two point.
- Parameters
-
x1 | Sets or gets the X position of the first point. |
y1 | Sets or gets the Y position of the first point. |
x2 | Sets or gets the X position of the second point. |
y2 | Sets or gets the Y position of the second point. |
◆ Center
Point GCodeAPI.Rect.Center |
|
get |
Returns the center of the rectangle.
◆ MaxX
double GCodeAPI.Rect.MaxX |
|
get |
Returns the maximum X value.
◆ MaxY
double GCodeAPI.Rect.MaxY |
|
get |
Returns the maximum Y value.
◆ MinX
double GCodeAPI.Rect.MinX |
|
get |
Returns the minimum X value.
◆ MinY
double GCodeAPI.Rect.MinY |
|
get |
Returns the minimum Y value.
◆ X1
Sets or gets the X position of the first point.
◆ X2
Sets or gets the X position of the second point.
◆ Y1
Sets or gets the Y position of the first point.
◆ Y2
Sets or gets the Y position of the second point.
The documentation for this class was generated from the following file:
- E:/projects/biofiz/programs/PetriPrinter/git/gCodeAPI/Rect.cs