public static enum FastBitmap.CoordinateSystem extends java.lang.Enum<FastBitmap.CoordinateSystem>
| Enum Constant and Description |
|---|
Cartesian
Represents X and Y.
|
Matrix
Represents I and J.
|
| Modifier and Type | Method and Description |
|---|---|
static FastBitmap.CoordinateSystem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FastBitmap.CoordinateSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FastBitmap.CoordinateSystem Cartesian
Example:
for(int y = 0; y < height; y++){
for(int x = 0; x < width; x++){
int g = fastBitmap.getGray(x,y);
...
}
}
public static final FastBitmap.CoordinateSystem Matrix
Example:
for(int i = 0; i < height; i++){
for(int j = 0; j < width; j++){
int g = fastBitmap.getGray(i,j);
...
}
}
public static FastBitmap.CoordinateSystem[] values()
for (FastBitmap.CoordinateSystem c : FastBitmap.CoordinateSystem.values()) System.out.println(c);
public static FastBitmap.CoordinateSystem valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null