Skip to main content

TdxGPPen.LineStartCapStyle Property

Specifies the graphical primitive that a TdxGPPen object adds to the displayed line’s origin.

Declaration

property LineStartCapStyle: 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 LineStartCapStyle property specifies the graphical primitive used as the cap added to the line’s starting 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 1 pixel. However, regardless of the line width, if the LineStartCapStyle property is set to gpcsFlat, the cap is not displayed at the line’s starting point.

For detailed information on available line starting 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