Enum Class HwmfPenStyle.HwmfLineDash

java.lang.Object
java.lang.Enum<HwmfPenStyle.HwmfLineDash>
org.apache.poi.hwmf.record.HwmfPenStyle.HwmfLineDash
All Implemented Interfaces:
Serializable, Comparable<HwmfPenStyle.HwmfLineDash>, Constable
Enclosing class:
HwmfPenStyle

public static enum HwmfPenStyle.HwmfLineDash extends Enum<HwmfPenStyle.HwmfLineDash>
  • Enum Constant Details

    • SOLID

      public static final HwmfPenStyle.HwmfLineDash SOLID
      The pen is solid.
    • DASH

      public static final HwmfPenStyle.HwmfLineDash DASH
      The pen is dashed. (-----)
    • DOT

      public static final HwmfPenStyle.HwmfLineDash DOT
      The pen is dotted. (.....)
    • DASHDOT

      public static final HwmfPenStyle.HwmfLineDash DASHDOT
      The pen has alternating dashes and dots. (_._._._)
    • DASHDOTDOT

      public static final HwmfPenStyle.HwmfLineDash DASHDOTDOT
      The pen has dashes and double dots. (_.._.._)
    • NULL

      public static final HwmfPenStyle.HwmfLineDash NULL
      The pen is invisible.
    • INSIDEFRAME

      public static final HwmfPenStyle.HwmfLineDash INSIDEFRAME
      The pen is solid. When this pen is used in any drawing record that takes a bounding rectangle, the dimensions of the figure are shrunk so that it fits entirely in the bounding rectangle, taking into account the width of the pen.
    • USERSTYLE

      public static final HwmfPenStyle.HwmfLineDash USERSTYLE
      The pen uses a styling array supplied by the user. (this is currently not supported and drawn as solid ... no idea where the user styling is supposed to come from ...)
  • Field Details

    • wmfFlag

      public final int wmfFlag
    • dashes

      public final float[] dashes
  • Method Details

    • values

      public static HwmfPenStyle.HwmfLineDash[] 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 HwmfPenStyle.HwmfLineDash 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