|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Image
Represents an image.
To encode AWT image to an instance of Image
,
use Images.encode(java.lang.String, java.awt.image.RenderedImage, float, boolean)
.
Images.encode(java.lang.String, java.awt.image.RenderedImage, float, boolean)
Method Summary | |
---|---|
int |
getHeight()
Returns the height. |
int |
getWidth()
Returns the width. |
javax.swing.ImageIcon |
toImageIcon()
Converts to an image icon. |
Methods inherited from interface org.zkoss.util.media.Media |
---|
getByteData, getContentType, getFormat, getName, getReaderData, getStreamData, getStringData, inMemory, isBinary |
Method Detail |
---|
int getWidth()
int getHeight()
javax.swing.ImageIcon toImageIcon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |