net.aerith.misao.gui
Interface ImageContent
- All Known Implementing Classes:
- RGBCompositeImage, MonoImage
- public interface ImageContent
The ImageContent
is an interface of a content added in
a ImageComponent
. It has a function to create
java.awt.Image
.
Method Summary |
java.awt.Image |
getImage()
Creates a proper java.awt.Image considering the
zoom level. |
Size |
getSize()
Gets the image size. |
getSize
public Size getSize()
- Gets the image size.
- Returns:
- the image size.
getImage
public java.awt.Image getImage()
- Creates a proper
java.awt.Image
considering the
zoom level.
- Returns:
- an
java.awt.Image
.