xtd 0.2.0
Loading...
Searching...
No Matches

◆ start_figure()

void xtd::drawing::drawing_2d::graphics_path::start_figure ( )

Starts a new figure without closing the current figure. All subsequent points added to the path are added to this new figure.

Remarks
The user must keep the original points if they are needed. The original points are converted to cubic Bézier control points internally, therefore there is no mechanism for returning the original points.
This method starts a new subpath in the path. Subpaths allow you to separate a path into sections and use the xtd::drawing::drawing_2d::graphics_path_iterator class to iterate through the subpaths.