Back to Devexpress

TdxGPPenLineCapStyle Enum

vcl-dxgdiplusclasses-4194aa85.md

latest1.9 KB
Original Source

TdxGPPenLineCapStyle Enum

Enumerates the available line cap styles that a TdxGPPen object can add to the line’s end or beginning.

Declaration

delphi
TdxGPPenLineCapStyle = (
    gpcsFlat,
    gpcsSquare,
    gpcsRound
);

Members

Name
gpcsFlat
gpcsSquare
gpcsRound

Remarks

Options include:

|

Value

|

Description

|

LineStartCapStyle Example

|

LineEndCapStyle Example

| | --- | --- | --- | --- | |

gpcsFlat

|

The flat line cap style adds no adjacent graphical primitive to the line’s end or beginning.

|

|

| |

gpcsSquare

|

If selected, the square line cap style adds an adjacent rectangle to the end or beginning of the displayed line.

|

|

| |

gpcsRound

|

If selected, the round line cap style adds an adjacent semicircle to the end or beginning of the displayed line.

|

|

|

The TdxGPPenLineCapStyle type is referenced by the LineEndCapStyle and LineStartCapStyle properties provided by the TdxGPPen class.

See Also

dxGDIPlusClasses Unit