C# 클래스 NScumm.Core.Graphics.Rect

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

공개 프로퍼티들

프로퍼티 타입 설명
Bottom int
Top int

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Clip ( Rect r ) : void
Clip ( int maxw, int maxh ) : void
Contains ( Point p ) : bool
Contains ( int x, int y ) : bool

Check if given position is inside this rectangle.

Rect ( int w, int h )
Rect ( int x1, int y1, int x2, int y2 )
ToString ( ) : string

메소드 상세

Clip() 공개 메소드

public Clip ( Rect r ) : void
r Rect
리턴 void

Clip() 공개 메소드

public Clip ( int maxw, int maxh ) : void
maxw int
maxh int
리턴 void

Contains() 공개 메소드

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

Contains() 공개 메소드

Check if given position is inside this rectangle.
public Contains ( int x, int y ) : bool
x int The horizontal position to check.
y int The vertical position to check.
리턴 bool

Rect() 공개 메소드

public Rect ( int w, int h )
w int
h int

Rect() 공개 메소드

public Rect ( int x1, int y1, int x2, int y2 )
x1 int
y1 int
x2 int
y2 int

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Bottom 공개적으로 프로퍼티

public int Bottom
리턴 int

Top 공개적으로 프로퍼티

public int Top
리턴 int