Method Rotate
Rotate(Point, double)
Rotates a point around the origin by the specified angle in radians.
public static Point Rotate(Point p, double radians)
Parameters
Returns
Rotate(Point, Point, double)
Rotates a point around the specified center by the given angle in radians.
public static Point Rotate(Point p, Point center, double radians)
Parameters
pPointThe point to rotate.
centerPointThe rotation center.
radiansdoubleThe rotation angle, in radians (counterclockwise).