Skip to main content
Pie
ra0

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

TcxCanvas.WidenPath Method

In This Article

Updates the selected GDI path according to the active pen settings.

#Declaration

Delphi
procedure WidenPath;

#Remarks

A GDI path is an irregular shape formed by multiple draw calls enclosed between the BeginPath and EndPath procedure calls. Call the WidenPath procedure to update the appearance of the active GDI path outline according to the new Pen property value. A WidenPath procedure call also flattens any Bezier curves within the path into a series of interconnected straight lines to approximate the widened curves.

Note

A WidenPath procedure call has no effect if the device context of the underlying canvas has no selected GDI path or the Pen.Width property value does not exceed 1.

See Also