[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.4" ) ]
public Path (Image image, string? name)
Create a new empty path object.
This procedure creates a new empty path object. If name is null, a default path name will
be used.
The new path still needs to be added to the image as this is not automatic. Add the new path with the [method@Image.insert_path] method.
| image |
The image. |
| name |
the name of the new path object. |
|
the current path object, 0 if no path exists in the image. |