public interface JPTextImageType
| Modifier and Type | Method and Description |
|---|---|
int |
get(int x,
int y)
Retrieve a character in the image.
|
int |
getSilent(int x,
int y,
int v)
Retrieve a character in the image.
|
int |
height() |
boolean |
isInside(int x,
int y) |
void |
put(int x,
int y,
int value)
Set the character at
(x, y) to value |
void |
putSilent(int x,
int y,
int value)
Set the character at
(x, y) to value. |
int |
width() |
boolean isInside(int x,
int y)
x - The x coordinatey - The y coordinatetrue iff the given coordinates are inside the imagevoid put(int x,
int y,
int value)
(x, y) to valuex - The X coordinate (0 <= x < width must hold)y - The Y coordinate (0 <= y < height must hold)value - The character valuevoid putSilent(int x,
int y,
int value)
(x, y) to value. If x or
y is outside of the bounds of the image, no setting is performed
and no exceptions are raised.x - The X coordinatey - The Y coordinatevalue - The character valueint width()
int height()
int get(int x,
int y)
x - The X coordinate (0 <= x < width must hold)y - The Y coordinate (0 <= y < height must hold)(x, y)int getSilent(int x,
int y,
int v)
x - The X coordinatey - The Y coordinatev - The default value(x, y), or v iff the coordinates
are outside of the imageCopyright © 2016 <code@io7m.com> http://io7m.com