Object
RectF
RectF | The default constructor for the RectF class. |
RectF | A constructor which takes x1, y1, x2 and y2 coordinates as a parameters. |
RectF | A constructor which takes two PointF as a parameters. |
RectF | Constructor that takes location as PointF and size as SizeF |
Bottom | Sets or gets the bottom coordinate of the rectangle. |
Clone | Returns a clone of the RectF. |
Height | Sets or gets the height of the rectangle. |
Left | Sets or gets the left coordinate of the rectangle. |
Right | Sets or gets the right coordinate of the rectangle. |
Top | Sets or gets the top coordinate of the rectangle. |
Width | Sets or gets the width of a rectangle. |
Area | Returns the size of the area of the rectangle. |
Contains | Returns true if the given point is within the rectangle. |
Contains | Returns true if the given x and y coordinates are within the rectangle. |
Draw | Draws the rectangle into a Graphics context with the current color of the Graphics context. |
Draw (web only) | Draws the rectangle into a WebGraphics context with the current color of the WebGraphics context. |
EllipseContains | Returns true if the given point is within the ellipse defined by the rectangle coordinates. |
EllipseContains | Returns true if the given x and y coordinates are within the ellipse defined by the rectangle coordinates. |
Equal | Returns true if two rectangles are equal. |
Fill | Fills the rectangle into a Graphics context with the current color of the Graphics context. |
Fill (web only) | Fills the rectangle into a WebGraphics context with the current color of the WebGraphics context. |
Inset | Shrinks or expands a rectangle by given x and y values. |
Intersects | Returns true if a RectF intersects with our current instance of RectF. |
IsEmpty | Returns true if the rectangle is empty. |
Offset | Moves the rectangle. |
Operator_Convert | Operator to automatically convert Xojo.Core.Rect to RectF. |
Union | Calculates the smallest rectangle that encloses two rectangles and returns the result as new rectangle. |