Gimp.Path.prototype.stroke_interpolate

function stroke_interpolate(stroke_id: Number(gint), precision: Number(gdouble)): [return_value: Array(Number(gdouble)), num_coords: Number(gsize), closed: Boolean] {
    // Gjs wrapper for gimp_path_stroke_interpolate()
}
  

returns polygonal approximation of the stroke.

returns polygonal approximation of the stroke.

Since 2.4

stroke_id

The stroke ID.

precision

The precision used for the approximation.

return_value

List of the coords along the path (x0, y0, x1, y1, ...). The returned value must be freed with g_free().

num_coords

The number of floats returned.

closed

Whether the stroke is closed or not.