C# Class MegaMan.Common.Geometry.RectangleF

Mostra file Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Public Properties

Property Type Description
Empty RectangleF

Public Methods

Method Description
Contains ( PointF pt ) : bool
Contains ( RectangleF rect ) : bool
Contains ( float x, float y ) : bool
Equals ( object obj ) : bool
FromLTRB ( float left, float top, float right, float bottom ) : RectangleF
GetHashCode ( ) : int
Inflate ( RectangleF rect, float x, float y ) : RectangleF
Inflate ( float x, float y ) : void
Intersect ( RectangleF a, RectangleF b ) : RectangleF
Intersect ( RectangleF rect ) : void
IntersectsWith ( RectangleF rect ) : bool
Offset ( PointF pos ) : void
Offset ( float x, float y ) : void
RectangleF ( float x, float y, float width, float height ) : System
ToString ( ) : string
Union ( RectangleF a, RectangleF b ) : RectangleF
operator ( ) : bool

Method Details

Contains() public method

public Contains ( PointF pt ) : bool
pt PointF
return bool

Contains() public method

public Contains ( RectangleF rect ) : bool
rect RectangleF
return bool

Contains() public method

public Contains ( float x, float y ) : bool
x float
y float
return bool

Equals() public method

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

FromLTRB() public static method

public static FromLTRB ( float left, float top, float right, float bottom ) : RectangleF
left float
top float
right float
bottom float
return RectangleF

GetHashCode() public method

public GetHashCode ( ) : int
return int

Inflate() public static method

public static Inflate ( RectangleF rect, float x, float y ) : RectangleF
rect RectangleF
x float
y float
return RectangleF

Inflate() public method

public Inflate ( float x, float y ) : void
x float
y float
return void

Intersect() public static method

public static Intersect ( RectangleF a, RectangleF b ) : RectangleF
a RectangleF
b RectangleF
return RectangleF

Intersect() public method

public Intersect ( RectangleF rect ) : void
rect RectangleF
return void

IntersectsWith() public method

public IntersectsWith ( RectangleF rect ) : bool
rect RectangleF
return bool

Offset() public method

public Offset ( PointF pos ) : void
pos PointF
return void

Offset() public method

public Offset ( float x, float y ) : void
x float
y float
return void

RectangleF() public method

public RectangleF ( float x, float y, float width, float height ) : System
x float
y float
width float
height float
return System

ToString() public method

public ToString ( ) : string
return string

Union() public static method

public static Union ( RectangleF a, RectangleF b ) : RectangleF
a RectangleF
b RectangleF
return RectangleF

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Empty public_oe static_oe property

public static RectangleF,MegaMan.Common.Geometry Empty
return RectangleF