Package org.zkoss.image
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, useImages.encode(java.lang.String, java.awt.image.RenderedImage, float, boolean).- Author:
- tomyeh
- See Also:
Images.encode(java.lang.String, java.awt.image.RenderedImage, float, boolean)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHeight()Returns the height.intgetWidth()Returns the width.javax.swing.ImageIcontoImageIcon()Converts to an image icon.-
Methods inherited from interface org.zkoss.util.media.Media
getByteData, getContentType, getFormat, getName, getReaderData, getStreamData, getStringData, inMemory, isBinary, isContentDisposition
-
-