mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-08 08:46:03 +00:00
temp. Added multiple selection with ctrl. Not finished.
This commit is contained in:
@@ -130,3 +130,13 @@ Rect.prototype.size = function()
|
||||
{
|
||||
return this.maxPoint.subtract(this.minPoint);
|
||||
};
|
||||
|
||||
Rect.prototype.left = function()
|
||||
{
|
||||
return this.minPoint.x;
|
||||
};
|
||||
|
||||
Rect.prototype.top = function()
|
||||
{
|
||||
return this.minPoint.y;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user