Point.Truncate(PointF) 方法

定义

通过截断 PointF 值,将指定的 Point 转换为 PointFConverts the specified PointF to a Point by truncating the values of the 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

要转换的 PointFThe PointF to convert.

返回

此方法转换得到的 PointThe Point this method converts to.

适用于