C# 클래스 MegaMan.Common.Geometry.Rectangle

파일 보기 프로젝트 열기: Tesserex/C--MegaMan-Engine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Empty Rectangle
Height int
Width int
X int
Y int

공개 메소드들

메소드 설명
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

메소드 상세

Contains() 공개 메소드

public Contains ( Point pt ) : bool
pt Point
리턴 bool

Contains() 공개 메소드

public Contains ( Rectangle rect ) : bool
rect Rectangle
리턴 bool

Contains() 공개 메소드

public Contains ( int x, int y ) : bool
x int
y int
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Intersect() 공개 정적인 메소드

public static Intersect ( Rectangle a, Rectangle b ) : Rectangle
a Rectangle
b Rectangle
리턴 Rectangle

Intersect() 공개 메소드

public Intersect ( Rectangle rect ) : void
rect Rectangle
리턴 void

Rectangle() 공개 메소드

public Rectangle ( int x, int y, int width, int height ) : System
x int
y int
width int
height int
리턴 System

Union() 공개 정적인 메소드

public static Union ( Rectangle a, Rectangle b ) : Rectangle
a Rectangle
b Rectangle
리턴 Rectangle

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

Empty 공개적으로 정적으로 프로퍼티

public static Rectangle,MegaMan.Common.Geometry Empty
리턴 Rectangle

Height 공개적으로 프로퍼티

public int Height
리턴 int

Width 공개적으로 프로퍼티

public int Width
리턴 int

X 공개적으로 프로퍼티

public int X
리턴 int

Y 공개적으로 프로퍼티

public int Y
리턴 int