C# Class System.Drawing.SizeF

Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
Empty SizeF
Empty System.Drawing.SizeF

Public Methods

Method Description
Add ( SizeF sz1, SizeF sz2 ) : SizeF

Performs vector addition of two objects.

Add ( System sz1, System sz2 ) : System.Drawing.SizeF
Equals ( object obj ) : bool

Tests to see whether the specified object is a with the same dimensions as this .

GetHashCode ( ) : int
SizeF ( System pt )
SizeF ( float width, float height )
SizeF ( PointF pt ) : System.Numerics.Hashing

Initializes a new instance of the class from the specified .

SizeF ( SizeF size ) : System.Numerics.Hashing

Initializes a new instance of the class from the specified existing .

SizeF ( float width, float height ) : System.Numerics.Hashing

Initializes a new instance of the class from the specified dimensions.

Subtract ( SizeF sz1, SizeF sz2 ) : SizeF

Contracts a by another .

Subtract ( System sz1, System sz2 ) : System.Drawing.SizeF
ToPointF ( ) : PointF
ToPointF ( ) : System.Drawing.PointF
ToSize ( ) : Size
ToSize ( ) : System.Drawing.Size
ToString ( ) : string

Creates a human-readable string that represents this .

operator ( ) : SizeF

Performs vector addition of two objects.

operator ( ) : System.Drawing.SizeF
operator ( ) : bool

Tests whether two objects are identical.

Method Details

Add() public static method

Performs vector addition of two objects.

public static Add ( SizeF sz1, SizeF sz2 ) : SizeF
sz1 SizeF
sz2 SizeF
return SizeF

Add() public static method

public static Add ( System sz1, System sz2 ) : System.Drawing.SizeF
sz1 System
sz2 System
return System.Drawing.SizeF

Equals() public method

Tests to see whether the specified object is a with the same dimensions as this .

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

SizeF() public method

public SizeF ( System pt )
pt System

SizeF() public method

public SizeF ( float width, float height )
width float
height float

SizeF() public method

Initializes a new instance of the class from the specified .

public SizeF ( PointF pt ) : System.Numerics.Hashing
pt PointF
return System.Numerics.Hashing

SizeF() public method

Initializes a new instance of the class from the specified existing .
public SizeF ( SizeF size ) : System.Numerics.Hashing
size SizeF
return System.Numerics.Hashing

SizeF() public method

Initializes a new instance of the class from the specified dimensions.

public SizeF ( float width, float height ) : System.Numerics.Hashing
width float
height float
return System.Numerics.Hashing

Subtract() public static method

Contracts a by another .

public static Subtract ( SizeF sz1, SizeF sz2 ) : SizeF
sz1 SizeF
sz2 SizeF
return SizeF

Subtract() public static method

public static Subtract ( System sz1, System sz2 ) : System.Drawing.SizeF
sz1 System
sz2 System
return System.Drawing.SizeF

ToPointF() public method

public ToPointF ( ) : PointF
return PointF

ToPointF() public method

public ToPointF ( ) : System.Drawing.PointF
return System.Drawing.PointF

ToSize() public method

public ToSize ( ) : Size
return Size

ToSize() public method

public ToSize ( ) : System.Drawing.Size
return System.Drawing.Size

ToString() public method

Creates a human-readable string that represents this .

public ToString ( ) : string
return string

operator() public static method

Performs vector addition of two objects.

public static operator ( ) : SizeF
return SizeF

operator() public static method

public static operator ( ) : System.Drawing.SizeF
return System.Drawing.SizeF

operator() public static method

Tests whether two objects are identical.
public static operator ( ) : bool
return bool

Property Details

Empty public_oe static_oe property

Initializes a new instance of the class.
public static SizeF,System.Drawing Empty
return SizeF

Empty public_oe static_oe property

public static System.Drawing.SizeF Empty
return System.Drawing.SizeF