C# 클래스 Microsoft.Xna.Framework.Rectangle

파일 보기 프로젝트 열기: DeathCradle/Open-Terraria-API 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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