Skip to main content
Pie
ra0

TcxCanvas.WidenPath Method

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

Declaration

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