Point.Ceiling(PointF) 方法

定义

通过将 PointF 的值舍入到与其接近的较大整数值,将指定的 Point 转换为 PointFConverts the specified PointF to a Point by rounding the values of the PointF to the next higher integer values.

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

参数

value
PointF

要转换的 PointFThe PointF to convert.

返回

Point

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

适用于