blockly > BlockSvg > getBoundingRectangleWithoutChildren

BlockSvg.getBoundingRectangleWithoutChildren() 方法

返回边界框的坐标,用于描述仅此分块的尺寸。坐标系:工作区坐标。

Signature:

getBoundingRectangleWithoutChildren(): Rect;

返回

Rect

包含边界框坐标的对象。