Table of Contents

TTMSFNCPlannerCacheItem.CreateCache Method

Creates a generic pre-rendered bitmap cache tile of the specified kind and optional position.

API unit family: TMSFNCPlannerData Declaring type: TTMSFNCPlannerCacheItem

Syntax

class function CreateCache(ARect: TRectF; ABitmap: TBitmap; AKind: TTMSFNCPlannerCacheItemKind; APosition: Integer = -1): TTMSFNCPlannerCacheItem;

Parameters

Name Description
ARect Bounding rectangle of the tile in planner canvas coordinates.
ABitmap Pre-rendered bitmap for this tile.
AKind The type of planner element this tile represents.
APosition Zero-based resource position index; pass -1 when not applicable.

Returns

A cache item initialised for the specified rectangle, bitmap, kind, and position.