# System.Types.TRectF Methods

InheritedProtected

_sameValue | public | Tests whether a TRectF object's Fields are equal to some other values, received as parameters. |

_sqrf | public | Calculates the square value of the parameter data. |

Ceiling | public | Does superior rounding over the TRectF object. |

CenterAt | public | Places the current TRectF object in the center of the designated area without scaling. |

CenteredRect | public | Returns a centered rectangle. |

CenterPoint | public | Returns the center point of the rectangle. |

Contains | public | Tests whether a point or a rectangle is located within the rectangle. |

Create | public | Creates a TRectF rectangle having floating-point coordinates. |

Empty | public | Creates an empty TRectF object. |

EqualsTo | public | |

Fit | public | Scales down, if needed, the current rectangle to fit into `BoundsRect` and centers the scaled rectangle in `BoundsRect` . Returns the implemented scaling ratio. |

FitInto | public | Resizes the current rectangle, preserving the current rectangle proportions, to best fit in the `ADesignatedArea` rectangle, and returns the scaled rectangle centered in `ADesignatedArea` . |

GetHeight | public | Returns the height of the rectangle. |

GetLocation | public | Returns the location of a rectangle. |

GetSize | public | Returns the floating-point TSizeF size of the rectangle. |

GetWidth | public | Returns the width of the rectangle. |

Inflate | public | Inflates the dimensions of the rectangle. |

init | public | Initializes a TRectF object. |

Intersect | public | Calculates the intersection between two rectangles. |

Intersects | public | Tests whether two rectangles intersect. |

IntersectsWith | public | Tests whether two rectangles intersect. |

IsEmpty | public | Tests whether the rectangle is empty. |

Normalize | public | Use Normalize to normalize a rectangle. |

NormalizeRect | public | Normalizes the TRectF object. |

Offset | public | Adds horizontal and vertical specified offsets. |

operator != | public | Compares two rectangles for inequality. |

operator == | public | Compares two rectangles for equality. |

operator Addition | public | Calculates the Union of two rectangles and returns a TRectF object. |

operator Equality | public | Tests whether two rectangles are equal. |

operator Explicit | public | Returns a TRect object. |

operator Implicit | public | Returns a TRectF object. |

operator Inequality | public | Tests whether two rectangles are unequal. |

operator Multiply | public | Calculates the intersection of two rectangles. |

Overlaps | public | Tests whether this rectangle overlaps with the specified rectangle. |

PlaceInto | public | If any dimension of the current rectangle is greater than the corresponding dimension of the `ADesignatedArea` rectangle, then the current rectangle is scaled down to best fit the `ADesignatedArea` rectangle. The obtained rectangle is aligned in `ADesignatedArea` . |

PtInRect | public | Tests whether a specified point is within the rectangle. |

Round | public | Rounds the TRectF object. |

SetHeight | public | Sets the height of the rectangle. |

SetLocation | public | Sets the location of a rectangle. |

SetSize | public | Sets the width and height of the rectangle. |

SetWidth | public | Sets the width of the rectangle. |

SnapToPixel | public | Rounds the location and size of the current rectangle to the specified AScale value. |

Truncate | public | Truncates the TRectF object. |

Union | public | Calculates the union between two rectangles. |