C# Class Evbpc.Framework.Drawing.PointF

显示文件 Open project: EBrown8534/Framework Class Usage Examples

Public Properties

Property Type Description
Empty PointF

Private Properties

Property Type Description

Public Methods

Method 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 method

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.
return PointF

Add() public static method

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.
return PointF

Equals() public method

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 .
return bool

GetHashCode() public method

Gets a hash code for the current PointF.
public GetHashCode ( ) : int
return int

PointF() public method

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.
return System

PointF() public method

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 .
return System

Subtract() public static method

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.
return PointF

Subtract() public static method

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.
return PointF

ToString() public method

Gets a string representation of a PointF.
public ToString ( ) : string
return string

operator() public static method

Offsets a PointF object by the specified Size.
public static operator ( ) : PointF
return PointF

operator() public static method

Determines if two PointF objects are equal.
public static operator ( ) : bool
return bool

Property Details

Empty public_oe static_oe property

Represents a PointF with default values.
public static PointF,Evbpc.Framework.Drawing Empty
return PointF