Enum BorderJoinStyle

java.lang.Object
java.lang.Enum<BorderJoinStyle>
software.xdev.chartjs.model.enums.BorderJoinStyle
All Implemented Interfaces:
Serializable, Comparable<BorderJoinStyle>

public enum BorderJoinStyle extends Enum<BorderJoinStyle>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Fills an additional triangular area between the common endpoint of connected segments, and the separate outside rectangular corners of each segment.
    Connected segments are joined by extending their outside edges to connect at a single point, with the effect of filling an additional lozenge-shaped area.
    Rounds off the corners of a shape by filling an additional sector of disc centered at the common endpoint of connected segments.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ROUND

      public static final BorderJoinStyle ROUND
      Rounds off the corners of a shape by filling an additional sector of disc centered at the common endpoint of connected segments. The radius for these rounded corners is equal to the line width.
    • BEVEL

      public static final BorderJoinStyle BEVEL
      Fills an additional triangular area between the common endpoint of connected segments, and the separate outside rectangular corners of each segment.
    • MITER

      public static final BorderJoinStyle MITER
      Connected segments are joined by extending their outside edges to connect at a single point, with the effect of filling an additional lozenge-shaped area. This setting is effected by the miterLimit property.
  • Method Details

    • values

      public static BorderJoinStyle[] 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

      public static BorderJoinStyle valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<BorderJoinStyle>