mirror of https://github.com/adamdruppe/arsd.git
change style to mine again
This commit is contained in:
parent
7613028eeb
commit
9dd03c3158
36
color.d
36
color.d
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue