Interface Image

All Superinterfaces:
Media
All Known Implementing Classes:
AImage

public interface Image extends Media
Represents an image.

To encode AWT image to an instance of Image, use Images.encode(java.lang.String, java.awt.image.RenderedImage, float, boolean).

Author:
tomyeh
See Also:
  • Method Details

    • getWidth

      int getWidth()
      Returns the width.
    • getHeight

      int getHeight()
      Returns the height.
    • toImageIcon

      ImageIcon toImageIcon()
      Converts to an image icon.