Instance Method

boundingBox()

Returns a rectangle that bounds the onscreen rendering of the node.

Declaration

func boundingBox() -> NSRect

Return Value

The rectangle that represents the bounding box of the onscreen rendering of the node.

See Also

Obtaining layout rectangles

func lineBoxRects() -> [Any]!

Returns the rectangles that bound each line of text in the node.