public interface Picture
Icon
, but intended for
use in contexts which may be headless.Modifier and Type | Method | Description |
---|---|---|
int |
getPictureHeight() |
Get vertical extent.
|
int |
getPictureWidth() |
Get horizontal extent.
|
void |
paintPicture(java.awt.Graphics2D g2) |
Paint the content of this painting on the given graphics context.
|
int getPictureWidth()
int getPictureHeight()
void paintPicture(java.awt.Graphics2D g2) throws java.io.IOException
g2
- graphics contextjava.io.IOException
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.