TcxCanvas.BeginPath Method
Opens a GDI path bracket for the device context of the underlying canvas.
Declaration
procedure BeginPath;
Remarks
A GDI path is a complex, irregular shape formed by multiple draw calls enclosed between the BeginPath and EndPath procedure calls. You can treat the path as a single primitive or convert it into a region. Call the BeginPath procedure to open a GDI path bracket. Then you can call the following methods to create a path from:
Ellipses (Ellipse).
Cubic Bezier curves (PolyBezier and PolyBezierTo).
Text (TextOut).
Then, call EndPath to finish the path and select it for the device context of the underlying canvas. This operation destroys the path previously selected for the same context.
See Also