toPath

fun toPath(): 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.

Return

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

Since

4.14