PathBuilder.addSegment
void addSegment(gsk.path.Path path, gsk.path_point.PathPoint start, gsk.path_point.PathPoint end)Adds to self the segment of path from start to end.
If start is equal to or after end, the path will first add the segment from start to the end of the path, and then add the segment from the beginning to end. If the path is closed, these segments will be connected.
Note that this method always adds a path with the given start point and end point. To add a closed path, use [gsk.path_builder.PathBuilder.addPath].
Parameters
path | the [gsk.path.Path] to take the segment to |
start | the point on path to start at |
end | the point on path to end at |