Point.Truncate(PointF) 方法

定义

通过截断 PointF 值,将指定的 Point 转换为 PointF

public:
 static System::Drawing::Point Truncate(System::Drawing::PointF value);
public static System.Drawing.Point Truncate (System.Drawing.PointF value);
static member Truncate : System.Drawing.PointF -> System.Drawing.Point
Public Shared Function Truncate (value As PointF) As Point

参数

value
PointF

要转换的 PointF

返回

此方法转换得到的 Point

适用于