Skip to main content

TdxGPPen.LineEndCapStyle Property

Specifies the graphical primitive that a TdxGPPen object adds to the end of the displayed line.

Declaration

property LineEndCapStyle: TdxGPPenLineCapStyle read; write;

Property Value

Type
TdxGPPenLineCapStyle

Remarks

Use the LineStartCapStyle and LineEndCapStyle properties to customize the appearance of the line’s start and end points, respectively. The LineEndCapStyle property specifies the graphical primitive used as the cap added to the line’s ending point. Since the cap’s length is half of the line’s width, a pen object displays a cap only for lines whose width is larger than 1 pixel. However, regardless of the line’s width, if the LineEndCapStyle property is set to gpcsFlat, the cap is not displayed at the line’s ending point.

For detailed information on available line ending cap styles, refer to the TdxGPPenLineCapStyle type description.

Note

In the case of closed lines, such as circle and ellipse outlines, the LineStartCapStyle and LineEndCapStyle property values have no effect. To customize the appearance of dashes and dots within the line, use the DashCapStyle property.

See Also