protected PointF[] RotateCoords(PointF[] coords, float angle) { Matrix m = new Matrix(); m.Rotate(angle); m.TransformPoints(coords); return coords; }