Drawing > Drawing Assembly Classes > GxRect
Assembly: Drawing;
Namespace: Prognoz.Platform.Interop.Drawing;
The GxRect class implements the rectangle with the integer sizes.
Class to get analog of the GxRect class:
None;
Class to get analog of the GxRect class object:
GxRectFClass;
Constructor name | Brief description | |
![]() |
Create | The Create constructor creates a new rectangle with the specified sizes. |
![]() |
CreateFromEdges | The CreateFromEdges constructor creates a new rectangle calculating its sizes and position in accordance with the specified angular points. |
![]() |
CreateFromOrigin | The CreateFromOrigin constructor creates a new rectangle in accordance with the specified position and size. |
![]() |
CreateFromRect | The CreateFromRect constructor creates a new rectangle from the specified rectangle. |
Property name | Brief description | |
![]() |
Bottom | The Bottom property determines the bottom margin of the integer rectangle. |
![]() |
Height | The Height property determines the height of the integer rectangle. |
![]() |
IsEmpty | The IsEmpty property returns True if all margins of the integer rectangle are null. |
![]() |
Left | The Left property determines the left margin of the integer rectangle. |
![]() |
Right | The Right property determines the right margin of the integer rectangle. |
![]() |
Size | The Size property determines the size of the integer rectangle. |
![]() |
Top | The Top property determines the top margin of the integer rectangle. |
![]() |
Width | The Width property determines the width of the integer rectangle. |
Method name | Brief description | |
![]() |
Contains | The Contains method checks if the current rectangle contains the point. |
![]() |
ContainsP | The ContainsP method checks if the current rectangle contains the point. |
![]() |
ContainsR | The ContainsR method checks if the current rectangle contains the rectangle. |
![]() |
Deflate | The Deflate method reduces the sizes of the integer rectangle. |
![]() |
DeflateS | The DeflateS method reduces the integer rectangle by a size. |
![]() |
Equals | The Equals method checks if the current integer rectangle is equal to other rectangle. |
![]() |
Inflate | The Inflate method increases the sizes of the integer rectangle. |
![]() |
InflateS | The InflateS method increases the integer rectangle by a size. |
![]() |
Intersect | The Intersect method returns the rectangle that is implemented from the intersection of this integer rectangle with some other. |
![]() |
IntersectsWith | The IntersectsWith method returns True if the current integer rectangle intersects with the rectangle passed by parameter. |
![]() |
Offset | The Offset method shifts the integer rectangle. |
![]() |
OffsetP | The OffsetP method offsets the integer rectangle to the point. |
![]() |
OffsetS | The OffsetS method offsets the integer rectangle by the size. |
![]() |
ToRectF | The ToRectF method transforms the integer rectangle into the real rectangle. |
See also: