Enum StrokeStyle.LineDash

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<StrokeStyle.LineDash>
    Enclosing interface:
    StrokeStyle

    public static enum StrokeStyle.LineDash
    extends java.lang.Enum<StrokeStyle.LineDash>
    The line dash with pattern. The pattern is derived empirically on PowerPoint 2010 and needs to be multiplied with actual line width
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DASH
      dash style - native 7
      DASH_DOT
      dash short dash - native 9
      DOT
      square dot style - native 6
      LG_DASH
      long dash style - native 8
      LG_DASH_DOT
      long dash short dash - native 10
      LG_DASH_DOT_DOT
      long dash short dash short dash - native 11
      SOLID
      Solid (continuous) pen - native 1
      SYS_DASH
      PS_DASH system dash style - native 2
      SYS_DASH_DOT
      PS_DASHDOT system dash style - native 4
      SYS_DASH_DOT_DOT
      PS_DASHDOTDOT system dash style / native 5
      SYS_DOT
      PS_DOT system dash style - native 3
    • Field Detail

      • pattern

        public final int[] pattern
      • nativeId

        public final int nativeId
      • ooxmlId

        public final int ooxmlId
    • Method Detail

      • values

        public static StrokeStyle.LineDash[] 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 (StrokeStyle.LineDash c : StrokeStyle.LineDash.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StrokeStyle.LineDash 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 name
        java.lang.NullPointerException - if the argument is null