コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Point"/> structure from the specified
 /// <see cref="Point2f"/> structure.
 /// </summary>
 /// <param name="point">The <see cref="Point2f"/> used to initialize this instance by rounding.</param>
 public Point(Point2f point)
 {
     X = (int)Math.Round(point.X);
     Y = (int)Math.Round(point.Y);
 }