PointF(Single, Single) 构造函数

定义

用指定坐标初始化 PointF 类的新实例。Initializes a new instance of the PointF class with the specified coordinates.

public:
 PointF(float x, float y);
public PointF (float x, float y);
new System.Drawing.PointF : single * single -> System.Drawing.PointF
Public Sub New (x As Single, y As Single)

参数

x
Single

该点的水平位置。The horizontal position of the point.

y
Single

该点的垂直位置。The vertical position of the point.

适用于