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