Class HwmfPenStyle

  • All Implemented Interfaces:

    public class HwmfPenStyle
    extends java.lang.Object
    implements java.lang.Cloneable
    The 16-bit PenStyle Enumeration is used to specify different types of pens that can be used in graphics operations. Various styles can be combined by using a logical OR statement, one from each subsection of Style, EndCap, Join, and Type (Cosmetic). The defaults in case the other values of the subsection aren't set are solid, round end caps, round joins and cosmetic type.
    • Constructor Detail

      • HwmfPenStyle

        public HwmfPenStyle()
    • Method Detail

      • valueOf

        public static HwmfPenStyle valueOf​(int flag)
      • isAlternateDash

        public boolean isAlternateDash()
        The pen sets every other pixel (this style is applicable only for cosmetic pens).
      • clone

        public HwmfPenStyle clone()
        Creates a new object of the same class and with the same contents as this object.
        a clone of this instance.
        java.lang.OutOfMemoryError - if there is not enough memory.
        See Also: