WmfPenStyle

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class WmfPenStyle extends System.Enum

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

Fields

FieldDescription
CosmeticThe cosmetic
EndcapRoundThe line end caps are round.
JoinRoundLine joins are round.
SolidThe pen is solid.
DashThe pen is dashed.
DotThe pen is dotted.
DashdotThe pen has alternating dashes and dots.
DashdotdotThe pen has dashes and double dots.
NullThe pen is invisible.
InsideframeThe pen is solid.
UserstyleThe pen uses a styling array supplied by the user.
AlternateThe pen sets every other pixel (this style is applicable only for cosmetic pens).
EndcapSquareLine end caps are square.
EndcapFlatLine end caps are flat.
JoinBevelLine joins are beveled.
JoinMiterLine joins are mitered when they are within the current limit set by the SETMITERLIMIT META_ESCAPE record.

Cosmetic

public static final short Cosmetic

The cosmetic

EndcapRound

public static final short EndcapRound

The line end caps are round.

JoinRound

public static final short JoinRound

Line joins are round.

Solid

public static final short Solid

The pen is solid.

Dash

public static final short Dash

The pen is dashed.

Dot

public static final short Dot

The pen is dotted.

Dashdot

public static final short Dashdot

The pen has alternating dashes and dots.

Dashdotdot

public static final short Dashdotdot

The pen has dashes and double dots.

Null

public static final short Null

The pen is invisible.

Insideframe

public static final short Insideframe

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.

Userstyle

public static final short Userstyle

The pen uses a styling array supplied by the user.

Alternate

public static final short Alternate

The pen sets every other pixel (this style is applicable only for cosmetic pens).

EndcapSquare

public static final short EndcapSquare

Line end caps are square.

EndcapFlat

public static final short EndcapFlat

Line end caps are flat.

JoinBevel

public static final short JoinBevel

Line joins are beveled.

JoinMiter

public static final short JoinMiter

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.