Point(Double, Double) 建構函式

定義

初始化包含特定值的 Point 結構。Initializes a Point struct that contains the specified values.

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

參數

x
Double

Point 結構的 X 座標值。The x-coordinate value of the Point struct.

y
Double

Point 結構的 Y 座標值。The y-coordinate value of the Point struct.

備註

此結構代表 Windows 執行階段 (WinRT) 結構的 .NET 投影 PointThis struct represents the .NET projection of the Windows Runtime (WinRT) Point struct. 如需詳細資訊,請參閱 UWP API 參考中的 For more information, see Point in the UWP API reference.

適用於