Table of Contents

TTMSFNCBloxBaseGroup.SurroundRect Method

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

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

Syntax

function SurroundRect: TTMSFNCBloxRect; override;

Returns

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