 | PointMathRotatePoint Method (PointF, PointF, Double) |
Rotate a point by angle with different origin
Namespace: ToolBooxAssembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static PointF RotatePoint(
PointF pnt,
PointF origin,
double degreeAngle
)
Public Shared Function RotatePoint (
pnt As PointF,
origin As PointF,
degreeAngle As Double
) As PointF
Parameters
- pnt
- Type: System.DrawingPointF
2D point to rotate - origin
- Type: System.DrawingPointF
2D point origin of rotation - degreeAngle
- Type: SystemDouble
Degree value
Return Value
Type:
PointFRotated 2D point
See Also