stroke_flip_free


Description:

[ Version ( since = "2.4" ) ]
public bool stroke_flip_free (int stroke_id, double x1, double y1, double x2, double y2)

flips the given stroke about an arbitrary axis.

Flips the given stroke about an arbitrary axis. Axis is defined by two coordinates in the image (in pixels), through which the flipping axis passes.

Parameters:

this

The path object.

stroke_id

The stroke ID.

x1

X coordinate of the first point of the flipping axis.

y1

Y coordinate of the first point of the flipping axis.

x2

X coordinate of the second point of the flipping axis.

y2

Y coordinate of the second point of the flipping axis.

Returns:

TRUE on success.