示例#1
0
 public static PointF GetPointF(this Point point)
 {
     return(new PointF((float)point.X, (float)point.Y));
 }
示例#2
0
 public static Vector2 ToVector2(this Point point)
 {
     return(new Vector2((float)point.X, (float)point.Y));
 }