getRect

Get the bounding box of this node.

getRect(): Promise<Rect | null

Returns

  • Promise<Rect | null> – The bounding rectangle, or null if unavailable.