Interface ImageElement

All Superinterfaces:
Element, EventTarget, Node, SearchContext

public interface ImageElement extends Element
An HTML DOM image element.
Since:
7.21
  • Method Details

    • contents

      Bitmap contents()
      Returns an Bitmap that 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