Enum BorderPainter.CornerAngles
java.lang.Object
java.lang.Enum<BorderPainter.CornerAngles>
org.apache.fop.render.intermediate.BorderPainter.CornerAngles
- All Implemented Interfaces:
Serializable
,Comparable<BorderPainter.CornerAngles>
- Enclosing class:
BorderPainter
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 ConstantsEnum ConstantDescriptionThe after-start anglesThe before-end anglesThe end-after anglesThe start-before angles -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BorderPainter.CornerAngles
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 Details
-
BEFORE_END
The before-end angles -
END_AFTER
The end-after angles -
AFTER_START
The after-start angles -
START_BEFORE
The start-before angles
-
-
Field Details
-
start
private final double startAngle of the start of the corner arch relative to the x-axis in the counter-clockwise direction -
end
private final double endAngle of the end of the corner arch relative to the x-axis in the counter-clockwise direction
-
-
Constructor Details
-
CornerAngles
private CornerAngles(double start, double end)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-