Table of Contents

TTMSFNCBloxLineJoin.GetTextCellRect Method

Returns the rectangle, in block coordinates, where a text cell is drawn. The base implementation returns the full block rectangle. Override in descendants to draw text in a different region, for example only the top half of the block.

API unit family: TMSFNCBloxCoreBlock Declaring type: TTMSFNCBloxLineJoin Inherited from: TTMSFNCBloxBlock

Syntax

function GetTextCellRect(ACell: TTMSFNCBloxTextCell; ARect: TTMSFNCBloxRect): TTMSFNCBloxRect; override;

Parameters

Name Description
ACell The text cell whose draw rectangle is requested.
ARect The candidate rectangle, usually derived from the cell bounds.

Returns

The rectangle in block coordinates in which the cell text is drawn.