Point(Double, Double) 构造函数

定义

创建一个包含指定坐标的新 Point 结构。Creates a new Point structure that contains the specified coordinates.

public:
 Point(double x, double y);
public Point (double x, double y);
new System.Windows.Point : double * double -> System.Windows.Point
Public Sub New (x As Double, y As Double)

参数

x
Double

新的 Point 结构的 x 坐标。The x-coordinate of the new Point structure.

y
Double

新的 Point 结构的 y 坐标。The y-coordinate of the new Point structure.

适用于