Click or drag to resize
EmfPlusLineCapType Enumeration
The LineCapType enumeration defines types of line caps to use at the ends of lines that are drawn with graphics pens.

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Consts
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public enum EmfPlusLineCapType
Members
  Member nameValueDescription
LineCapTypeFlat0 Specifies a squared-off line cap. The end of the line MUST be the last point in the line.
LineCapTypeSquare1 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.
LineCapTypeRound2 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.
LineCapTypeTriangle3 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.
LineCapTypeNoAnchor16 Specifies that the line end is not anchored.
LineCapTypeSquareAnchor17 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.
LineCapTypeRoundAnchor18 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.
LineCapTypeDiamondAnchor19 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.
LineCapTypeArrowAnchor20 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.
LineCapTypeAnchorMask240 Mask used to check whether a line cap is an anchor cap.
LineCapTypeCustom255 Specifies a custom line cap.
Remarks
Graphics line caps are specified by EmfPlusPen objects (section 2.2.1.7).
See Also