Enum Class BorderPainter.CornerAngles

java.lang.Object
java.lang.Enum<BorderPainter.CornerAngles>
org.apache.fop.render.intermediate.BorderPainter.CornerAngles
All Implemented Interfaces:
Serializable, Comparable<BorderPainter.CornerAngles>, Constable
Enclosing class:
BorderPainter

private static enum BorderPainter.CornerAngles extends 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 Details

  • Field Details

    • start

      private final double start
      Angle of the start of the corner arch relative to the x-axis in the counter-clockwise direction
    • end

      private final double end
      Angle 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

      public static BorderPainter.CornerAngles[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BorderPainter.CornerAngles valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null