프로퍼티 | 타입 | 설명 | |
---|---|---|---|
x0 | int |
메소드 | 설명 | |
---|---|---|
Area ( ) : int | ||
Aspect ( ) : float | ||
Centricity ( Rect other ) : float | ||
Contains ( Point p ) : bool | ||
Contains ( int x, int y ) : bool | ||
CreateEmpty ( ) : Rect | ||
DilatedBy ( int dx0, int dy0, int dx1, int dy1 ) : Rect |
Origin name: dilated_by
|
|
Empty ( ) : bool | ||
FractionCoveredBy ( Rect other ) : float |
Origin name: fraction_covered_by
|
|
Grow ( int offset ) : Rect | ||
Height ( ) : int | ||
Include ( Rect other ) : void | ||
Include ( int x, int y ) : void | ||
Includes ( Rect other ) : bool | ||
Includes ( float x, float y ) : bool | ||
Includes ( int x, int y ) : bool | ||
Inclusion ( Rect other ) : Rect | ||
Intersect ( Rect other ) : void | ||
Intersection ( Rect other ) : Rect | ||
Overlaps ( Rect other ) : bool | ||
PadBy ( int dx, int dy ) : void |
Origin name: pad_by
|
|
Rect ( Rect r ) : System | ||
Rect ( int x0, int y0, int x1, int y1 ) : System | ||
ShiftBy ( int dx, int dy ) : void |
Origin name: shift_by
|
|
ToString ( ) : string | ||
Width ( ) : int | ||
Xcenter ( ) : int | ||
Ycenter ( ) : int |
메소드 | 설명 | |
---|---|---|
ASSERT ( bool cond, string msg = "" ) : void | ||
heaviside ( int x ) : int |
public DilatedBy ( int dx0, int dy0, int dx1, int dy1 ) : Rect | ||
dx0 | int | |
dy0 | int | |
dx1 | int | |
dy1 | int | |
리턴 | Rect |
public Rect ( int x0, int y0, int x1, int y1 ) : System | ||
x0 | int | |
y0 | int | |
x1 | int | |
y1 | int | |
리턴 | System |