[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.2" ) ]
public VectorLayer (Image image, Path path)
Create a new vector layer.
This procedure creates a new vector layer displaying the specified path. By default, the fill and stroke properties will be
defined by the context.
The new layer still needs to be added to the image as this is not automatic. Add the new layer with the [method@Image.insert_layer] method.
The arguments are kept as simple as necessary for the basic case. All vector attributes, however, can be modified with the appropriate `gimp_vector_layer_set_*()` procedures.
| image |
The image. |
| path |
The path to create the layer from. |
|
The new vector layer. The object belongs to libgimp and you should not free it. |