C# Class Evbpc.Framework.Drawing.PointF

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

Méthodes publiques

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Add ( PointF pt, Size sz ) : PointF

Offsets a PointF by the specified Size.

Add ( PointF pt, SizeF sz ) : PointF

Offsets a PointF by the specified SizeF.

Equals ( object obj ) : bool

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

GetHashCode ( ) : int

Gets a hash code for the current PointF.

PointF ( SizeF sz ) : System

Constructs a new instance of PointF from the specified SizeF.

The SizeF.Width will become the X and the SizeF.Height will become the Y.

PointF ( float x, float y ) : System

Constructs a new instance of PointF from the specified X and Y.

Subtract ( PointF pt, Size sz ) : PointF

Subtracts a PointF by a Size.

Subtract ( PointF pt, SizeF sz ) : PointF

Subtracts a PointF by a SizeF.

ToString ( ) : string

Gets a string representation of a PointF.

operator ( ) : PointF

Offsets a PointF object by the specified Size.

operator ( ) : bool

Determines if two PointF objects are equal.

Method Details

Add() public static méthode

Offsets a PointF by the specified Size.
public static Add ( PointF pt, Size sz ) : PointF
pt PointF The that should be offset.
sz Size The to offset by.
Résultat PointF

Add() public static méthode

Offsets a PointF by the specified SizeF.
public static Add ( PointF pt, SizeF sz ) : PointF
pt PointF The that should be offset.
sz SizeF The to offset by.
Résultat PointF

Equals() public méthode

Determines if the current PointF 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 PointF.
public GetHashCode ( ) : int
Résultat int

PointF() public méthode

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

PointF() public méthode

Constructs a new instance of PointF from the specified X and Y.
public PointF ( float x, float y ) : System
x float The value that should represent the .
y float The value that should represent the .
Résultat System

Subtract() public static méthode

Subtracts a PointF by a Size.
public static Subtract ( PointF pt, Size sz ) : PointF
pt PointF The to be subtracted from.
sz Size The to subtract.
Résultat PointF

Subtract() public static méthode

Subtracts a PointF by a SizeF.
public static Subtract ( PointF pt, SizeF sz ) : PointF
pt PointF The to be subtracted from.
sz SizeF The to subtract.
Résultat PointF

ToString() public méthode

Gets a string representation of a PointF.
public ToString ( ) : string
Résultat string

operator() public static méthode

Offsets a PointF object by the specified Size.
public static operator ( ) : PointF
Résultat PointF

operator() public static méthode

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

Property Details

Empty public_oe static_oe property

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