Truncate() public static method

Converts a SizeF to a Size by performing a truncate operation on all the coordinates.
public static Truncate ( SizeF value ) : Size
value SizeF
return Size
コード例 #1
0
ファイル: SizeF.cs プロジェクト: dca-davi/corefx
 public Size ToSize()
 {
     return(Size.Truncate(this));
 }
コード例 #2
0
 public Size ToSize() => Size.Truncate(this);
コード例 #3
0
ファイル: SizeD.cs プロジェクト: wunaidage/TataruHelper
 public Size ToSize() => Size.Truncate((SizeF)this);