Enum BorderPainter.CornerAngles
- java.lang.Object
-
- java.lang.Enum<BorderPainter.CornerAngles>
-
- org.apache.fop.render.intermediate.BorderPainter.CornerAngles
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BorderPainter.CornerAngles>
- Enclosing class:
- BorderPainter
private static enum BorderPainter.CornerAngles extends java.lang.Enum<BorderPainter.CornerAngles>
The four corners SB - Start-Before BE - Before-End EA - End-After AS - After-Start 0 --> x | v y SB BE *----* | | | | *----* AS EA
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_START
The after-start anglesBEFORE_END
The before-end anglesEND_AFTER
The end-after anglesSTART_BEFORE
The start-before angles
-
Constructor Summary
Constructors Modifier Constructor Description private
CornerAngles(double start, double end)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BorderPainter.CornerAngles
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BorderPainter.CornerAngles[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE_END
public static final BorderPainter.CornerAngles BEFORE_END
The before-end angles
-
END_AFTER
public static final BorderPainter.CornerAngles END_AFTER
The end-after angles
-
AFTER_START
public static final BorderPainter.CornerAngles AFTER_START
The after-start angles
-
START_BEFORE
public static final BorderPainter.CornerAngles START_BEFORE
The start-before angles
-
-
Method Detail
-
values
public static BorderPainter.CornerAngles[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BorderPainter.CornerAngles c : BorderPainter.CornerAngles.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BorderPainter.CornerAngles valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-