Packages

 

com.aspose.imaging.fileformats.emf.emf.consts

Class EmfPenStyle

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.imaging.fileformats.emf.emf.consts.EmfPenStyle


  • public final class EmfPenStyle
    extends com.aspose.ms.System.Enum

    The PenStyle enumeration defines the attributes of pens that can be used in graphics operations. A pen style is a combination of pen type, line style, line cap, and line join.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int EndCapMask
      The end cap mask
      static int JoinMask
      The join mask
      static int PS_ALTERNATE
      A line style in which every other pixel is set.
      static int PS_COSMETIC
      A pen type that specifies a line with a width of one logical unit and a style that is a solid color
      static int PS_DASH
      A line style that is dashed
      static int PS_DASHDOT
      A line style that consists of alternating dashes and dots
      static int PS_DASHDOTDOT
      A line style that consists of dashes and double dots.
      static int PS_DOT
      A line style that is dotted.
      static int PS_ENDCAP_FLAT
      A line cap that specifies flat ends.
      static int PS_ENDCAP_ROUND
      A line cap that specifies round ends.
      static int PS_ENDCAP_SQUARE
      A line cap that specifies square ends.
      static int PS_GEOMETRIC
      A pen type that specifies a line with a width that is measured in logical units and a style that can contain any of the attributes of a brush.
      static int PS_INSIDEFRAME
      A line style that is a solid color.
      static int PS_JOIN_BEVEL
      A line join that specifies beveled joins.
      static int PS_JOIN_MITER
      A line join that specifies mitered joins when the lengths of the joins are within the current miter length limit that is set in the playback device context.
      static int PS_JOIN_ROUND
      A line join that specifies round joins
      static int PS_NULL
      A line style that is invisible.
      static int PS_SOLID
      A line style that is a solid color
      static int PS_USERSTYLE
      A line style that is defined by a styling array, which specifies the lengths of dashes and gaps in the line
      static int StyleMask
      The style mask
      static int TypeMask
      The type mask
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
    • Field Detail

      • PS_COSMETIC

        public static final int PS_COSMETIC

        A pen type that specifies a line with a width of one logical unit and a style that is a solid color

        See Also:
        Constant Field Values
      • PS_ENDCAP_ROUND

        public static final int PS_ENDCAP_ROUND

        A line cap that specifies round ends.

        See Also:
        Constant Field Values
      • PS_JOIN_ROUND

        public static final int PS_JOIN_ROUND

        A line join that specifies round joins

        See Also:
        Constant Field Values
      • PS_SOLID

        public static final int PS_SOLID

        A line style that is a solid color

        See Also:
        Constant Field Values
      • PS_DASHDOT

        public static final int PS_DASHDOT

        A line style that consists of alternating dashes and dots

        See Also:
        Constant Field Values
      • PS_DASHDOTDOT

        public static final int PS_DASHDOTDOT

        A line style that consists of dashes and double dots.

        See Also:
        Constant Field Values
      • PS_NULL

        public static final int PS_NULL

        A line style that is invisible.

        See Also:
        Constant Field Values
      • PS_INSIDEFRAME

        public static final int PS_INSIDEFRAME

        A line style that is a solid color. When this style is specified in a 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.

        See Also:
        Constant Field Values
      • PS_USERSTYLE

        public static final int PS_USERSTYLE

        A line style that is defined by a styling array, which specifies the lengths of dashes and gaps in the line

        See Also:
        Constant Field Values
      • PS_ALTERNATE

        public static final int PS_ALTERNATE

        A line style in which every other pixel is set. This style is applicable only to a pen type of PS_COSMETIC

        See Also:
        Constant Field Values
      • PS_ENDCAP_SQUARE

        public static final int PS_ENDCAP_SQUARE

        A line cap that specifies square ends.

        See Also:
        Constant Field Values
      • PS_ENDCAP_FLAT

        public static final int PS_ENDCAP_FLAT

        A line cap that specifies flat ends.

        See Also:
        Constant Field Values
      • PS_JOIN_BEVEL

        public static final int PS_JOIN_BEVEL

        A line join that specifies beveled joins.

        See Also:
        Constant Field Values
      • PS_JOIN_MITER

        public static final int PS_JOIN_MITER

        A line join that specifies mitered joins when the lengths of the joins are within the current miter length limit that is set in the playback device context. If the lengths of the joins exceed the miter limit, beveled joins are specified

        See Also:
        Constant Field Values
      • PS_GEOMETRIC

        public static final int PS_GEOMETRIC

        A pen type that specifies a line with a width that is measured in logical units and a style that can contain any of the attributes of a brush.

        See Also:
        Constant Field Values