EmfPlusLineCapType

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

public final class EmfPlusLineCapType extends System.Enum

The LineCapType enumeration defines types of line caps to use at the ends of lines that are drawn with graphics pens.


Graphics line caps are specified by EmfPlusPen objects (section 2.2.1.7).

Fields

FieldDescription
LineCapTypeFlatSpecifies a squared-off line cap.
LineCapTypeSquareSpecifies a square line cap.
LineCapTypeRoundSpecifies a circular line cap.
LineCapTypeTriangleSpecifies a triangular line cap.
LineCapTypeNoAnchorSpecifies that the line end is not anchored.
LineCapTypeSquareAnchorSpecifies that the line end is anchored with a square line cap.
LineCapTypeRoundAnchorSpecifies that the line end is anchored with a circular line cap.
LineCapTypeDiamondAnchorSpecifies that the line end is anchored with a diamond-shaped line cap, which is a square turned at 45 degrees.
LineCapTypeArrowAnchorSpecifies that the line end is anchored with an arrowhead shape.
LineCapTypeAnchorMaskMask used to check whether a line cap is an anchor cap.
LineCapTypeCustomSpecifies a custom line cap.

LineCapTypeFlat

public static final int LineCapTypeFlat

Specifies a squared-off line cap. The end of the line MUST be the last point in the line.

LineCapTypeSquare

public static final int LineCapTypeSquare

Specifies a square line cap. The center of the square MUST be located at the last point in the line. The width of the square is the line width.

LineCapTypeRound

public static final int LineCapTypeRound

Specifies a circular line cap. The center of the circle MUST be located at the last point in the line. The diameter of the circle is the line width.

LineCapTypeTriangle

public static final int LineCapTypeTriangle

Specifies a triangular line cap. The base of the triangle MUST be located at the last point in the line. The base of the triangle is the line width.

LineCapTypeNoAnchor

public static final int LineCapTypeNoAnchor

Specifies that the line end is not anchored.

LineCapTypeSquareAnchor

public static final int LineCapTypeSquareAnchor

Specifies that the line end is anchored with a square line cap. The center of the square MUST be located at the last point in the line. The height and width of the square are the line width.

LineCapTypeRoundAnchor

public static final int LineCapTypeRoundAnchor

Specifies that the line end is anchored with a circular line cap. The center of the circle MUST be located at the last point in the line. The circle SHOULD be wider than the line.

LineCapTypeDiamondAnchor

public static final int LineCapTypeDiamondAnchor

Specifies that the line end is anchored with a diamond-shaped line cap, which is a square turned at 45 degrees. The center of the diamond MUST be located at the last point in the line. The diamond SHOULD be wider than the line.

LineCapTypeArrowAnchor

public static final int LineCapTypeArrowAnchor

Specifies that the line end is anchored with an arrowhead shape. The arrowhead point MUST be located at the last point in the line. The arrowhead SHOULD be wider than the line.

LineCapTypeAnchorMask

public static final int LineCapTypeAnchorMask

Mask used to check whether a line cap is an anchor cap.

LineCapTypeCustom

public static final int LineCapTypeCustom

Specifies a custom line cap.