DOMNode Additions

Additions to the DOMNode class help convert the structured nodes of DOM content into a rich web-viewable form.


Creating archives

var webArchive: WebArchive!

A web archive of the content of the node and its children.

Obtaining layout rectangles

func boundingBox()

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

func lineBoxRects()

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

See Also