close


Description:

public void close ()

Ends the current contour with a line back to the start point.

Note that this is different from calling [method@Gsk.PathBuilder.line_to] with the start point in that the contour will be closed. A closed contour behaves differently from an open one. When stroking, its start and end point are considered connected, so they will be joined via the line join, and not ended with line caps.

Parameters:

this

a `GskPathBuilder`