C# Класс Microsoft.Xna.Framework.Rectangle

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Array Microsoft.Xna.Framework.Rectangle[]
Height int
Width int
X int
Y int

Открытые методы

Метод Описание
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

Описание методов

Contains() публичный Метод

public Contains ( Point value ) : bool
value Point
Результат bool

Contains() публичный Метод

public Contains ( Rectangle value ) : bool
value Rectangle
Результат bool

Contains() публичный Метод

public Contains ( int x, int y ) : bool
x int
y int
Результат bool

Contains() публичный Метод

public Contains ( Point &value, bool &result ) : void
value Point
result bool
Результат void

Contains() публичный Метод

public Contains ( Rectangle &value, bool &result ) : void
value Rectangle
result bool
Результат void

Equals() публичный Метод

public Equals ( Rectangle other ) : bool
other Rectangle
Результат bool

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

Inflate() публичный Метод

public Inflate ( int width, int height ) : void
width int
height int
Результат void

Intersect() публичный статический Метод

public static Intersect ( Rectangle &value1, Rectangle &value2, Rectangle &result ) : void
value1 Rectangle
value2 Rectangle
result Rectangle
Результат void

Intersects() публичный Метод

public Intersects ( Rectangle value ) : bool
value Rectangle
Результат bool

Intersects() публичный Метод

public Intersects ( Rectangle &value, bool &result ) : void
value Rectangle
result bool
Результат void

Offset() публичный Метод

public Offset ( Point value ) : void
value Point
Результат void

Offset() публичный Метод

public Offset ( int x, int y ) : void
x int
y int
Результат void

Rectangle() публичный Метод

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

Union() публичный статический Метод

public static Union ( Rectangle r1, Rectangle r2 ) : Rectangle
r1 Rectangle
r2 Rectangle
Результат Rectangle

operator() публичный статический Метод

public static operator ( ) : bool
Результат bool

Описание свойств

Array публичное статическое свойство

public static Rectangle[],Microsoft.Xna.Framework Array
Результат Microsoft.Xna.Framework.Rectangle[]

Height публичное свойство

public int Height
Результат int

Width публичное свойство

public int Width
Результат int

X публичное свойство

public int X
Результат int

Y публичное свойство

public int Y
Результат int