C# Class MegaMan.Common.Geometry.Rectangle

Afficher le fichier Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Méthodes publiques

Свойство Type Description
Empty Rectangle
Height int
Width int
X int
Y int

Méthodes publiques

Méthode Description
Contains ( Point pt ) : bool
Contains ( Rectangle rect ) : bool
Contains ( int x, int y ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Intersect ( Rectangle a, Rectangle b ) : Rectangle
Intersect ( Rectangle rect ) : void
Rectangle ( int x, int y, int width, int height ) : System
Union ( Rectangle a, Rectangle b ) : Rectangle
operator ( ) : bool

Method Details

Contains() public méthode

public Contains ( Point pt ) : bool
pt Point
Résultat bool

Contains() public méthode

public Contains ( Rectangle rect ) : bool
rect Rectangle
Résultat bool

Contains() public méthode

public Contains ( int x, int y ) : bool
x int
y int
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Intersect() public static méthode

public static Intersect ( Rectangle a, Rectangle b ) : Rectangle
a Rectangle
b Rectangle
Résultat Rectangle

Intersect() public méthode

public Intersect ( Rectangle rect ) : void
rect Rectangle
Résultat void

Rectangle() public méthode

public Rectangle ( int x, int y, int width, int height ) : System
x int
y int
width int
height int
Résultat System

Union() public static méthode

public static Union ( Rectangle a, Rectangle b ) : Rectangle
a Rectangle
b Rectangle
Résultat Rectangle

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

Empty public_oe static_oe property

public static Rectangle,MegaMan.Common.Geometry Empty
Résultat Rectangle

Height public_oe property

public int Height
Résultat int

Width public_oe property

public int Width
Résultat int

X public_oe property

public int X
Résultat int

Y public_oe property

public int Y
Résultat int