blockly > IPositionable > getBoundingRectangle

IPositionable.getBoundingRectangle() 메서드

블록리 삽입 div를 기준으로 UI 요소의 경계 직사각형을 픽셀 단위로 반환합니다.

Signature:

getBoundingRectangle(): Rect | null;

반환:

Rect | null

UI 요소의 경계 상자 다른 UI 요소에서 경계 상자를 무시해야 하는 경우 null입니다.