Package com.teamdev.jxbrowser.dom
Interface ImageElement
- All Superinterfaces:
Element,EventTarget,Node,SearchContext
An HTML DOM image element.
- Since:
- 7.21
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.teamdev.jxbrowser.dom.Element
Element.AlignTo -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.dom.Element
attributes, blur, boundingClientRect, boundingClientRectInViewport, focus, innerHtml, innerHtml, innerText, innerText, outerHtml, outerHtml, scrollIntoViewMethods inherited from interface com.teamdev.jxbrowser.dom.event.EventTarget
addEventListener, dispatch, eventListeners, removeEventListenerMethods inherited from interface com.teamdev.jxbrowser.dom.Node
appendChild, children, click, close, compareDocumentPosition, document, evaluate, evaluate, insertChild, nextSibling, nodeName, nodeValue, nodeValue, parent, previousSibling, removeChild, replaceChild, textContent, textContent, type, xPathMethods inherited from interface com.teamdev.jxbrowser.dom.SearchContext
findElementByClassName, findElementByCssSelector, findElementById, findElementByName, findElementByTagName, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByName, findElementsByTagName
-
Method Details
-
contents
Bitmap contents()Returns anBitmapthat contains raw pixels of the image displayed by the element.The size of the bitmap depends on the size of the original image. It is not affected by the actual size of the element.
- Throws:
ObjectClosedException- when this instance is closed
-