Enum WmfPenStyle

Enum WmfPenStyle

Namespace: Aspose.Imaging.FileFormats.Wmf.Consts
Assembly: Aspose.Imaging.dll (25.2.0)

The 16-bit PenStyle Enumeration is used to specify different types of pens that can be used in graphics operations.

public enum WmfPenStyle : short

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 of the 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 current limit 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.