change style to mine again

This commit is contained in:
Adam D. Ruppe 2019-06-03 08:39:56 -04:00
parent 7613028eeb
commit 9dd03c3158
1 changed files with 16 additions and 20 deletions

36
color.d
View File

@ -1480,29 +1480,25 @@ struct Rectangle {
this(upperLeft.x, upperLeft.y, upperLeft.x + size.width, upperLeft.y + size.height); this(upperLeft.x, upperLeft.y, upperLeft.x + size.width, upperLeft.y + size.height);
} }
/// ///
@property Point upperLeft() @property Point upperLeft() {
{ return Point(left, top);
return Point(left, top); }
}
/// ///
@property Point upperRight() @property Point upperRight() {
{ return Point(right, top);
return Point(right, top); }
}
/// ///
@property Point lowerLeft() @property Point lowerLeft() {
{ return Point(left, bottom);
return Point(left, bottom); }
}
/// ///
@property Point lowerRight() @property Point lowerRight() {
{ return Point(right, bottom);
return Point(right, bottom); }
}
/// ///
@property Size size() { @property Size size() {