Table of Contents

TTMSFNCPlannerItem.GetRect Method

Returns the bounding rectangle of the item tile at the specified render index, or the first tile when AIndex is -1.

API unit family: TMSFNCPlannerData Declaring type: TTMSFNCPlannerItem

Syntax

function GetRect(AIndex: Integer = -1): TRectF; virtual;

Parameters

Name Description
AIndex Zero-based index of the tile rectangle to return; pass -1 for the first tile.

Returns

Bounding rectangle of the tile in planner canvas coordinates.