public interface DiagramImage
DiagramProvider
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_SIZE
The value used to identify an unknown width or height.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose the image.
|
int |
getHeight()
Returns the height of the image.
|
int |
getWidth()
Returns the width of the image.
|
InputStream |
openStream()
Opens a
InputStream to read image bytes. |
static final int UNKNOWN_SIZE
InputStream openStream() throws IOException
InputStream
to read image bytes.IOException
- if the image contents is not accessible.int getWidth()
UNKNOWN_SIZE
if unknown).int getHeight()
UNKNOWN_SIZE
if unknown).void dispose()