C# Class Evbpc.Framework.Drawing.SizeF

Afficher le fichier Open project: EBrown8534/Framework Class Usage Examples

Méthodes publiques

Свойство Type Description
Empty SizeF

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Add ( SizeF sz1, SizeF sz2 ) : SizeF

Adds two SizeF structures together and returns the result.

Equals ( object obj ) : bool

Determines if the current SizeF is equal to the specified object.

GetHashCode ( ) : int

Gets a hash code for the current SizeF.

SizeF ( PointF pt ) : System

Constructs a new instance of SizeF from the specified PointF.

The PointF.X will become the Width and the PointF.Y will be the Height.

SizeF ( float width, float height ) : System

Constructs a new instance of SizeF from the specified Width and Height.

Subtract ( SizeF sz1, SizeF sz2 ) : SizeF

Subtracts a SizeF by another SizeF.

ToString ( ) : string

Gets a string representation of the current SizeF.

operator ( ) : SizeF

Adds two SizeF structures together and returns the result.

operator ( ) : bool

Determines if two SizeF structures are equal.

Method Details

Add() public static méthode

Adds two SizeF structures together and returns the result.
public static Add ( SizeF sz1, SizeF sz2 ) : SizeF
sz1 SizeF The first to add.
sz2 SizeF The second to add.
Résultat SizeF

Equals() public méthode

Determines if the current SizeF is equal to the specified object.
public Equals ( object obj ) : bool
obj object The object to compare to the current .
Résultat bool

GetHashCode() public méthode

Gets a hash code for the current SizeF.
public GetHashCode ( ) : int
Résultat int

SizeF() public méthode

Constructs a new instance of SizeF from the specified PointF.
The PointF.X will become the Width and the PointF.Y will be the Height.
public SizeF ( PointF pt ) : System
pt PointF The to construct the from.
Résultat System

SizeF() public méthode

Constructs a new instance of SizeF from the specified Width and Height.
public SizeF ( float width, float height ) : System
width float The value that should represent the .
height float The value that should represent the .
Résultat System

Subtract() public static méthode

Subtracts a SizeF by another SizeF.
public static Subtract ( SizeF sz1, SizeF sz2 ) : SizeF
sz1 SizeF The to be subtracted from.
sz2 SizeF The to subtract.
Résultat SizeF

ToString() public méthode

Gets a string representation of the current SizeF.
public ToString ( ) : string
Résultat string

operator() public static méthode

Adds two SizeF structures together and returns the result.
public static operator ( ) : SizeF
Résultat SizeF

operator() public static méthode

Determines if two SizeF structures are equal.
public static operator ( ) : bool
Résultat bool

Property Details

Empty public_oe static_oe property

Represents a SizeF with default values.
public static SizeF,Evbpc.Framework.Drawing Empty
Résultat SizeF