Help Center

LineCapfunction

Specifies the type of graphic shape to use on the end of a line drawn with a Microsoft Windows GDI+ pen. The cap can be a square, circle, triangle, arrowhead, custom, or masked (hidden). End caps can also "anchor" the line by centering the cap at the end of the line.

Graphicsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Parameters

NameDescription
LineCapFlat0
LineCapSquare1
LineCapRound2
LineCapTriangle3
LineCapNoAnchor&H10
LineCapSquareAnchor&H11
LineCapRoundAnchor&H12
LineCapDiamondAnchor&H13
LineCapArrowAnchor&H14
LineCapCustom&HFF
LineCapAnchorMask&HF0

Description

The LineCap enumeration specifies the type of graphic shape to use on the end of a line drawn with a Windows GDI+ pen. The cap can be a square, circle, triangle, arrowhead, custom, or masked (hidden). End caps can also "anchor" the line by centering the cap at the end of the line.

Reference