C# 클래스 No.UI.Rectangle

Represents a rectangle within a Cartesian coordinate space.
파일 보기 프로젝트 열기: hexafluoride/no 1 사용 예제들

공개 메소드들

메소드 설명
Contains ( Point point ) : bool
Intersects ( Rectangle rect ) : bool
Rectangle ( Point location, Size size ) : System
Rectangle ( Point location, int width, int height ) : System
Rectangle ( int x, int y, Size size ) : System
Rectangle ( int x, int y, int width, int height ) : System
Test ( ) : void

비공개 메소드들

메소드 설명
IntersectCheck ( Rectangle first, Rectangle second ) : bool

메소드 상세

Contains() 공개 메소드

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

Intersects() 공개 메소드

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

Rectangle() 공개 메소드

public Rectangle ( Point location, Size size ) : System
location Point
size Size
리턴 System

Rectangle() 공개 메소드

public Rectangle ( Point location, int width, int height ) : System
location Point
width int
height int
리턴 System

Rectangle() 공개 메소드

public Rectangle ( int x, int y, Size size ) : System
x int
y int
size Size
리턴 System

Rectangle() 공개 메소드

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

Test() 공개 정적인 메소드

public static Test ( ) : void
리턴 void