Свойство | Type | Description | |
---|---|---|---|
x0 | int |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 | |
Résultat | Rect |
public FractionCoveredBy ( Rect other ) : float | ||
other | Rect | |
Résultat | float |
public Rect ( int x0, int y0, int x1, int y1 ) : System | ||
x0 | int | |
y0 | int | |
x1 | int | |
y1 | int | |
Résultat | System |