# Gimp.Path.prototype.get_strokes

    function get_strokes(): [return_value: Array(Number(gint32)), num_strokes: Number(gsize)] {
        // Gjs wrapper for gimp_path_get_strokes()
    }

List the strokes associated with the passed path.

Returns an Array with the stroke-IDs associated with the passed path.

Since 2.4

return_value

  List of the strokes belonging to the path. The returned value must be freed with g_free().

num_strokes

  The number of strokes returned.