Gimp.Vectors.stroke_get_points

@accepts(Gimp.Vectors, int, int, [float], bool)
@returns(Gimp.VectorsStrokeType)
def stroke_get_points(self, stroke_id, num_points, controlpoints, closed):
    # Python wrapper for gimp_vectors_stroke_get_points()
  

returns the control points of a stroke.

returns the control points of a stroke. The interpretation of the coordinates returned depends on the type of the stroke. For Gimp 2.4 this is always a bezier stroke, where the coordinates are the control points.

Since 2.4

self

The vectors object.

stroke_id

The stroke ID.

num_points

The number of floats returned.

controlpoints

List of the control points for the stroke (x0, y0, x1, y1, ...).

closed

Whether the stroke is closed or not.

Returns