Table of Contents

TTMSMCPMargins.PaddingRect Method

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

API unit family: TMS.MCP.Types Declaring type: TTMSMCPMargins

Syntax

function PaddingRect(const R: TRectF): TRectF;

Parameters

Name Description
R The source rectangle to inset.

Returns

The rectangle reduced by the margin values.