C# Class Microsoft.Xna.Framework.Rectangle

Afficher le fichier Open project: DeathCradle/Open-Terraria-API Class Usage Examples

Méthodes publiques

Свойство Type Description
Array Microsoft.Xna.Framework.Rectangle[]
Height int
Width int
X int
Y int

Méthodes publiques

Méthode Description
Contains ( Point value ) : bool
Contains ( Rectangle value ) : bool
Contains ( int x, int y ) : bool
Contains ( Point &value, bool &result ) : void
Contains ( Rectangle &value, bool &result ) : void
Equals ( Rectangle other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Inflate ( int width, int height ) : void
Intersect ( Rectangle &value1, Rectangle &value2, Rectangle &result ) : void
Intersects ( Rectangle value ) : bool
Intersects ( Rectangle &value, bool &result ) : void
Offset ( Point value ) : void
Offset ( int x, int y ) : void
Rectangle ( int x, int y, int width, int height )
Union ( Rectangle r1, Rectangle r2 ) : Rectangle
operator ( ) : bool

Method Details

Contains() public méthode

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

Contains() public méthode

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

Contains() public méthode

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

Contains() public méthode

public Contains ( Point &value, bool &result ) : void
value Point
result bool
Résultat void

Contains() public méthode

public Contains ( Rectangle &value, bool &result ) : void
value Rectangle
result bool
Résultat void

Equals() public méthode

public Equals ( Rectangle other ) : bool
other Rectangle
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

Inflate() public méthode

public Inflate ( int width, int height ) : void
width int
height int
Résultat void

Intersect() public static méthode

public static Intersect ( Rectangle &value1, Rectangle &value2, Rectangle &result ) : void
value1 Rectangle
value2 Rectangle
result Rectangle
Résultat void

Intersects() public méthode

public Intersects ( Rectangle value ) : bool
value Rectangle
Résultat bool

Intersects() public méthode

public Intersects ( Rectangle &value, bool &result ) : void
value Rectangle
result bool
Résultat void

Offset() public méthode

public Offset ( Point value ) : void
value Point
Résultat void

Offset() public méthode

public Offset ( int x, int y ) : void
x int
y int
Résultat void

Rectangle() public méthode

public Rectangle ( int x, int y, int width, int height )
x int
y int
width int
height int

Union() public static méthode

public static Union ( Rectangle r1, Rectangle r2 ) : Rectangle
r1 Rectangle
r2 Rectangle
Résultat Rectangle

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

Array public_oe static_oe property

public static Rectangle[],Microsoft.Xna.Framework Array
Résultat Microsoft.Xna.Framework.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