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

function PaddingRect(const R: TRectF): TRectF;

Parameters

Name Description
R The source rectangle to inset.

Returns

The rectangle reduced by the margin values.