Point.Truncate(PointF) Point.Truncate(PointF) Point.Truncate(PointF) Point.Truncate(PointF) Method

定義

藉由截斷 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 PointF PointF PointF

要進行轉換的 PointFThe PointF to convert.

傳回

這個方法轉換成的 PointThe Point this method converts to.

適用於