From RAD Studio API Documentation
Jump to: navigation, search


TRectF CenteredRect(const TRectF &CenteredRect) const _ALWAYS_INLINE {


Type Visibility Source Unit Parent
function public SystemTypes.h System.Types TRectF


Returns a centered rectangle.

CenteredRect returns a centered rectangle from another rectangle. If CenteredRect is already centered, CenteredRect returns the same rectangle.

A centered rectangle is a rectangle that has the same CenterPoint as the rectangle it is centered in. CenteredRect returns a new rectangle whose coordinates are in the center of the source rectangle.

See Also