stroke_rotate


Description:

[ Version ( since = "2.4" ) ]
public bool stroke_rotate (int stroke_id, double center_x, double center_y, double angle)

rotates the given stroke.

Rotates the given stroke around given center by angle (in degrees).

Parameters:

this

The path object.

stroke_id

The stroke ID.

center_x

X coordinate of the rotation center.

center_y

Y coordinate of the rotation center.

angle

angle to rotate about.

Returns:

TRUE on success.