Enum WmfPenStyle
Namespace: Aspose.Imaging.FileFormats.Wmf.Consts
Assembly: Aspose.Imaging.dll (25.7.0)
The 16-bit PenStyle Enumeration is used to specify different types of pens that can be used in graphics operations.
public enum WmfPenStyle
{
PS_SOLID = 0,
PS_DASH = 1,
PS_DOT = 2,
PS_DASHDOT = 3,
PS_DASHDOTDOT = 4,
PS_NULL = 5,
PS_CLEAR = 6,
PS_CLOSEFIGURE = 7,
PS_ALTERNATE = 8,
PS_INVERT = 9,
PS_NOTNULL = 10,
}
Fields
Alternate = 8
The pen sets every other pixel (this style is applicable only for cosmetic pens).
Cosmetic = 0
The cosmetic
Dash = 1
The pen is dashed.
Dashdot = 3
The pen has alternating dashes and dots.
Dashdotdot = 4
The pen has dashes and double dots.
Dot = 2
The pen is dotted.
EndcapFlat = 512
Line end caps are flat.
EndcapRound = 0
The line end caps are round.
EndcapSquare = 256
Line end caps are square.
Insideframe = 6
The pen is solid. When this pen is used in any drawing record that takes a bounding rectangle, the dimensions ofthe figure are shrunk so that it fits entirely in the bounding rectangle, taking into account the width of the pen.
JoinBevel = 4096
Line joins are beveled.
JoinMiter = 8192
Line joins are mitered when they are within the currentlimit set by the SETMITERLIMIT META_ESCAPE record. A join is beveled when it would exceed the limit.
JoinRound = 0
Line joins are round.
Null = 5
The pen is invisible.
Solid = 0
The pen is solid.
Userstyle = 7
The pen uses a styling array supplied by the user.