C# 클래스 Praeclarum.Graphics.Rectangle

파일 보기 프로젝트 열기: praeclarum/Praeclarum 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
X int

공개 메소드들

메소드 설명
Contains ( int x, int y ) : bool
Inflate ( Size size ) : void
Inflate ( int width, int height ) : void
IntersectsWith ( Rectangle rect ) : bool
Offset ( int dx, int dy ) : void
Rectangle ( int left, int top, int width, int height ) : System
ToString ( ) : string
Union ( Rectangle a, Rectangle b ) : Rectangle

메소드 상세

Contains() 공개 메소드

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

Inflate() 공개 메소드

public Inflate ( Size size ) : void
size Size
리턴 void

Inflate() 공개 메소드

public Inflate ( int width, int height ) : void
width int
height int
리턴 void

IntersectsWith() 공개 메소드

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

Offset() 공개 메소드

public Offset ( int dx, int dy ) : void
dx int
dy int
리턴 void

Rectangle() 공개 메소드

public Rectangle ( int left, int top, int width, int height ) : System
left int
top int
width int
height int
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Union() 공개 정적인 메소드

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

프로퍼티 상세

X 공개적으로 프로퍼티

public int X
리턴 int