to_path


Description:

public Path to_path ()

Creates a new `GskPath` from the given builder.

The given `GskPathBuilder` is reset once this function returns; you cannot call this function multiple times on the same builder instance.

This function is intended primarily for language bindings. C code should use [method@Gsk.PathBuilder.free_to_path].

Parameters:

this

a `GskPathBuilder`

Returns:

the newly created `GskPath` with all the contours added to the builder