Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGPPen.LineStartCapStyle Property

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

#Declaration

Delphi
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