Enum EmfPlusLineCapType

EmfPlusLineCapType enumeration

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

public enum EmfPlusLineCapType

Values

NameValueDescription
LineCapTypeFlat0Specifies a squared-off line cap. The end of the line MUST be the last point in the line.
LineCapTypeSquare1Specifies 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.
LineCapTypeRound2Specifies 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.
LineCapTypeTriangle3Specifies 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.
LineCapTypeNoAnchor16Specifies that the line end is not anchored.
LineCapTypeSquareAnchor17Specifies 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.
LineCapTypeRoundAnchor18Specifies 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.
LineCapTypeDiamondAnchor19Specifies 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.
LineCapTypeArrowAnchor20Specifies 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.
LineCapTypeAnchorMask240Mask used to check whether a line cap is an anchor cap.
LineCapTypeCustom255Specifies a custom line cap.

Remarks

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

See Also