Enum EmfPenStyle
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Consts
Assembly: Aspose.Imaging.dll (25.2.0)
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.
[Flags]
public enum EmfPenStyle
Fields
EndCapMask = 3840
The end cap mask
JoinMask = 61440
The join mask
PS_ALTERNATE = 8
A line style in which every other pixel is set. This style is applicable only to a pen type of PS_COSMETIC
PS_COSMETIC = 0
A pen type that specifies a line with a width of one logical unit and a style that is a solid color
PS_DASH = 1
A line style that is dashed
PS_DASHDOT = 3
A line style that consists of alternating dashes and dots
PS_DASHDOTDOT = 4
A line style that consists of dashes and double dots.
PS_DOT = 2
A line style that is dotted.
PS_ENDCAP_FLAT = 512
A line cap that specifies flat ends.
PS_ENDCAP_ROUND = 0
A line cap that specifies round ends.
PS_ENDCAP_SQUARE = 256
A line cap that specifies square ends.
PS_GEOMETRIC = 65536
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.
PS_INSIDEFRAME = 6
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.
PS_JOIN_BEVEL = 4096
A line join that specifies beveled joins.
PS_JOIN_MITER = 8192
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
PS_JOIN_ROUND = 0
A line join that specifies round joins
PS_NULL = 5
A line style that is invisible.
PS_SOLID = 0
A line style that is a solid color
PS_USERSTYLE = 7
A line style that is defined by a styling array, which specifies the lengths of dashes and gaps in the line
StyleMask = 15
The style mask
TypeMask = 983040
The type mask