checkEnclosure

fun checkEnclosure(element: SVGElement, rect: DOMRectReadOnly): Boolean