Function

GimpItemid_is_vector_layer

unstable since: 3.2

Declaration [src]

gboolean
gimp_item_id_is_vector_layer (
  gint item_id
)

Description [src]

Returns whether the item ID is a vector layer.

This procedure returns TRUE if the specified item ID is a vector layer.

Note: in most use cases, you should not use this function. See gimp_item_id_is_layer() for a discussion on alternatives.

Available since: 3.2

Parameters

item_id

Type: gint

The item ID.

Return value

Type: gboolean

TRUE if the item is a vector layer, FALSE otherwise.