[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.6" ) ]
public Path.from_text_layer (Image image, Layer layer)
Create a new path object from a text layer.
This procedure creates a new path object from a text layer.
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. |
| layer |
The text layer. |
|
The path of the text layer. |