public enum ManhattanOrientation extends java.lang.Enum<ManhattanOrientation>
Enum Constant and Description |
---|
MX |
MXR90 |
MY |
MYR90 |
R0
This picture shows transformation of letter 'F' by
all 8 manhattan transformations.
|
R180 |
R270 |
R90 |
Modifier and Type | Method and Description |
---|---|
abstract java.awt.geom.AffineTransform |
affineTransform() |
ManhattanOrientation |
concatenate(ManhattanOrientation other) |
abstract void |
transformPoints(int[] coords,
int offset,
int count) |
abstract void |
transformRects(int[] coords,
int offset,
int count) |
static ManhattanOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ManhattanOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManhattanOrientation R0
public static final ManhattanOrientation R90
public static final ManhattanOrientation R180
public static final ManhattanOrientation R270
public static final ManhattanOrientation MY
public static final ManhattanOrientation MYR90
public static final ManhattanOrientation MX
public static final ManhattanOrientation MXR90
public static ManhattanOrientation[] values()
for (ManhattanOrientation c : ManhattanOrientation.values()) System.out.println(c);
public static ManhattanOrientation 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 nullpublic abstract java.awt.geom.AffineTransform affineTransform()
public abstract void transformPoints(int[] coords, int offset, int count)
public abstract void transformRects(int[] coords, int offset, int count)
public ManhattanOrientation concatenate(ManhattanOrientation other)