blockly > BlockSvg > getBoundingRectangleWithoutChildren

BlockSvg.getBoundingRectangleWithoutChildren() 方法

傳回定界框的座標,說明這個區塊的尺寸。座標系統:工作區座標。

Signature:

getBoundingRectangleWithoutChildren(): Rect;

退貨:

Rect

包含定界框座標的物件。