A rectangle with specified origin and size. More...
Public Member Functions | |
| Rectangle (this.x, this.y, this.width, this.height) | |
| Default constructor. | |
Public Attributes | |
| int | x |
rectangle's origin x coordinate. | |
| int | y |
rectangle's origin y coordinate. | |
| int | width |
| rectangle's width. | |
| int | height |
| rectangle's height. | |
A rectangle with specified origin and size.
Dart code snippet:
Definition at line 23 of file rectangle.dart.
| Rectangle.Rectangle | ( | this. | x, |
| this. | y, | ||
| this. | width, | ||
| this. | height ) |
Default constructor.
| int Rectangle.height |
rectangle's height.
Definition at line 48 of file rectangle.dart.
| int Rectangle.width |
rectangle's width.
Definition at line 42 of file rectangle.dart.
| int Rectangle.x |
rectangle's origin x coordinate.
Definition at line 31 of file rectangle.dart.
| int Rectangle.y |
rectangle's origin y coordinate.
Definition at line 36 of file rectangle.dart.