JavaScript APIdgNamespacesHtmlUtilsOn this pageHtmlUtils Html-related utilities Functions FunctionDescriptionhtmlGetBounds-renderToCanvasRenders the element to canvas