EmfPenStyle

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

public final class EmfPenStyle extends 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.

Fields

FieldDescription
PS_COSMETICA pen type that specifies a line with a width of one logical unit and a style that is a solid color
PS_ENDCAP_ROUNDA line cap that specifies round ends.
PS_JOIN_ROUNDA line join that specifies round joins
PS_SOLIDA line style that is a solid color
PS_DASHA line style that is dashed
PS_DOTA line style that is dotted.
PS_DASHDOTA line style that consists of alternating dashes and dots
PS_DASHDOTDOTA line style that consists of dashes and double dots.
PS_NULLA line style that is invisible.
PS_INSIDEFRAMEA line style that is a solid color.
PS_USERSTYLEA line style that is defined by a styling array, which specifies the lengths of dashes and gaps in the line
PS_ALTERNATEA line style in which every other pixel is set.
PS_ENDCAP_SQUAREA line cap that specifies square ends.
PS_ENDCAP_FLATA line cap that specifies flat ends.
PS_JOIN_BEVELA line join that specifies beveled joins.
PS_JOIN_MITERA 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.
PS_GEOMETRICA 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.
StyleMaskThe style mask
EndCapMaskThe end cap mask
JoinMaskThe join mask
TypeMaskThe type mask

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

PS_ENDCAP_ROUND

public static final int PS_ENDCAP_ROUND

A line cap that specifies round ends.

PS_JOIN_ROUND

public static final int PS_JOIN_ROUND

A line join that specifies round joins

PS_SOLID

public static final int PS_SOLID

A line style that is a solid color

PS_DASH

public static final int PS_DASH

A line style that is dashed

PS_DOT

public static final int PS_DOT

A line style that is dotted.

PS_DASHDOT

public static final int PS_DASHDOT

A line style that consists of alternating dashes and dots

PS_DASHDOTDOT

public static final int PS_DASHDOTDOT

A line style that consists of dashes and double dots.

PS_NULL

public static final int PS_NULL

A line style that is invisible.

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.

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

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

PS_ENDCAP_SQUARE

public static final int PS_ENDCAP_SQUARE

A line cap that specifies square ends.

PS_ENDCAP_FLAT

public static final int PS_ENDCAP_FLAT

A line cap that specifies flat ends.

PS_JOIN_BEVEL

public static final int PS_JOIN_BEVEL

A line join that specifies beveled joins.

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

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.

StyleMask

public static final int StyleMask

The style mask

EndCapMask

public static final int EndCapMask

The end cap mask

JoinMask

public static final int JoinMask

The join mask

TypeMask

public static final int TypeMask

The type mask