FMX.Grid.TColumn.RectPlaceIntoBounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function RectPlaceIntoBounds(const Source, Bounds: TRectF): TRectF;

C++

System::Types::TRectF __fastcall RectPlaceIntoBounds(const System::Types::TRectF &Source, const System::Types::TRectF &Bounds);

Properties

Type Visibility Source Unit Parent
function public
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TColumn

Description

Stretches and aligns the Source rectangle, preserving its rectangle proportions, to best fit into the Bounds rectangle.

RectPlaceIntoBounds calls PlaceInto to best fit the Source rectangle, preserving its rectangle proportions, into the Bounds rectangle. RectPlaceIntoBounds uses the default alignment parameters of the current column to align the stretched rectangle in the Bounds rectangle.

RectPlaceIntoBounds returns Source if any of the Bounds rectangle dimensions is zero.

See Also