PathBuilder.toPath

Creates a new gsk.path.Path from the given builder.

The given gsk.path_builder.PathBuilder 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 gsk.path_builder.PathBuilder.freeToPath.

class PathBuilder
toPath
()

Return Value

Type: gsk.path.Path

the newly created gsk.path.Path with all the contours added to the builder