C# Class System.Drawing.PointF

Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
Empty PointF
Empty System.Drawing.PointF

Public Methods

Method Description
Add ( PointF pt, Size sz ) : PointF

Translates a by a given .

Add ( PointF pt, SizeF sz ) : PointF

Translates a by a given .

Add ( System pt, System sz ) : System.Drawing.PointF
Equals ( object obj ) : bool
GetHashCode ( ) : int
PointF ( float x, float y )
PointF ( float x, float y ) : System.Numerics.Hashing

Initializes a new instance of the class with the specified coordinates.

Subtract ( PointF pt, Size sz ) : PointF

Translates a by the negative of a given .

Subtract ( PointF pt, SizeF sz ) : PointF

Translates a by the negative of a given .

Subtract ( System pt, System sz ) : System.Drawing.PointF
ToString ( ) : string
operator ( ) : PointF

Translates a by a given .

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

Compares two objects. The result specifies whether the values of the and properties of the two objects are equal.

Method Details

Add() public static method

Translates a by a given .

public static Add ( PointF pt, Size sz ) : PointF
pt PointF
sz Size
return PointF

Add() public static method

Translates a by a given .

public static Add ( PointF pt, SizeF sz ) : PointF
pt PointF
sz SizeF
return PointF

Add() public static method

public static Add ( System pt, System sz ) : System.Drawing.PointF
pt System
sz System
return System.Drawing.PointF

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

PointF() public method

public PointF ( float x, float y )
x float
y float

PointF() public method

Initializes a new instance of the class with the specified coordinates.

public PointF ( float x, float y ) : System.Numerics.Hashing
x float
y float
return System.Numerics.Hashing

Subtract() public static method

Translates a by the negative of a given .

public static Subtract ( PointF pt, Size sz ) : PointF
pt PointF
sz Size
return PointF

Subtract() public static method

Translates a by the negative of a given .

public static Subtract ( PointF pt, SizeF sz ) : PointF
pt PointF
sz SizeF
return PointF

Subtract() public static method

public static Subtract ( System pt, System sz ) : System.Drawing.PointF
pt System
sz System
return System.Drawing.PointF

ToString() public method

public ToString ( ) : string
return string

operator() public static method

Translates a by a given .

public static operator ( ) : PointF
return PointF

operator() public static method

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

operator() public static method

Compares two objects. The result specifies whether the values of the and properties of the two objects are equal.

public static operator ( ) : bool
return bool

Property Details

Empty public_oe static_oe property

Creates a new instance of the class with member data left uninitialized.

public static PointF,System.Drawing Empty
return PointF

Empty public_oe static_oe property

public static System.Drawing.PointF Empty
return System.Drawing.PointF