Table of Contents

TTMSFNCBloxLinkableBlock.SurroundRect Method

Returns the axis-aligned rectangle that encloses the block taking its current rotation angle into account.

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

Syntax

function SurroundRect: TTMSFNCBloxRect; override;

Returns

The smallest axis-aligned rectangle that contains the rotated block.