System.Types.NormalizeRectF

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function NormalizeRectF(const Pts: array of TPointF): TRectF;

C++

extern DELPHI_PACKAGE TRectF __fastcall NormalizeRectF(const TPointF *Pts, const int Pts_High)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Types.pas
System.Types.hpp
System.Types System.Types

Description

Normalizes the TRectF object.

Use the NormalizeRect method to normalize a TRectF object.

A normalized TRectF object is a rectangle with Top < Bottom or Left < Right.

Several methods of TRectF (Height, Width, IsEmpty, PtInRect, and so on) assume normalized TRectF objects, so use NormalizeRect if Top > Bottom or Left > Right.

See Also