mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-29 23:29:06 -04:00
Move TODOs up to where they make sense.
This commit is contained in:
parent
51d6ff945e
commit
0644d9d8b5
1 changed files with 8 additions and 7 deletions
|
@ -1159,6 +1159,14 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
|||
var loc = this.getLocationAt(offset, isParameter);
|
||||
return loc && loc.getNormal();
|
||||
}
|
||||
|
||||
// TODO: intersects(item)
|
||||
// TODO: contains(item)
|
||||
// TODO: contains(point)
|
||||
// TODO: intersect(item)
|
||||
// TODO: unite(item)
|
||||
// TODO: exclude(item)
|
||||
// TODO: getIntersections(path)
|
||||
}, new function() { // Scope for drawing
|
||||
|
||||
// Note that in the code below we're often accessing _x and _y on point
|
||||
|
@ -1927,12 +1935,5 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
|||
return Rectangle.create(x1, y1, x2 - x1, y2 - y1);
|
||||
}
|
||||
|
||||
// TODO: intersects(item)
|
||||
// TODO: contains(item)
|
||||
// TODO: contains(point)
|
||||
// TODO: intersect(item)
|
||||
// TODO: unite(item)
|
||||
// TODO: exclude(item)
|
||||
// TODO: getIntersections(path)
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue