Defines an enumeration that 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.
Namespace: RSGdiPlusGraphicsTypes
Delphi

type
TRSGPLineCap = (
lcFlat,
lcSquare,
lcRound,
lcTriangle,
lcNoAnchor,
lcSquareAnchor,
lcRoundAnchor,
lcDiamondAnchor,
lcArrowAnchor,
lcCustom
);


Name

Description


lcArrowAnchor

Specifies that the line ends are anchored with arrowheads. The arrowhead point is located at the last point in the line. The arrowhead is wider than the line.


lcCustom

Specifies that the line ends are made from a CustomLineCap.


lcDiamondAnchor

Specifies that the line ends are anchored with a diamond (a square turned at 45 degrees). The center of the diamond is at the last point in the line. The diamond is wider than the line.


lcFlat

Specifies that the line ends at the last point. The end is squared off.


lcNoAnchor

Specifies that the line ends are not anchored.


lcRound

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


lcRoundAnchor

Specifies that the line ends are anchored with a circle. The center of the circle is at the last point in the line. The circle is wider than the line.


lcSquare

Specifies a square cap. The center of the square is the last point in the line. The height and width of the square are the line width.


lcSquareAnchor

Specifies that the line ends are anchored with a square. The center of the square is the last point in the line. The height and width of the square are the line width.


lcTriangle

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

Top
