Skip to main content
Table of Contents

TTMSFNCMargins.PaddingRect Method

Returns a copy of rectangle R shrunk by these margin values on all sides.

API unit family: TMSFNCTypes Declaring type: TTMSFNCMargins

Syntax

FMX.TMSFNCTypes.hppPascalC++
function PaddingRect(const R: TRectF): TRectF;
System::Types::TRectF __fastcall PaddingRect(const System::Types::TRectF &R);

Parameters

Name Description
R The source rectangle to inset.

Returns

The rectangle reduced by the margin values.