PiRSquared17 / piccolo2d

Automatically exported from code.google.com/p/piccolo2d
0 stars 0 forks source link

PPath.setPathToRectangle method(s) are missing from versions 2 and later #259

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PPath.setPathToRectangle method(s) are missing from versions 2 and later, e.g.

https://code.google.com/p/piccolo2d/source/browse/piccolo2d.java/trunk/core/src/
main/java/org/piccolo2d/nodes/PPath.java#660

Original issue reported on code.google.com by heue...@gmail.com on 8 Aug 2014 at 9:33

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 29 Dec 2014 at 10:45

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 29 Dec 2014 at 11:39

GoogleCodeExporter commented 9 years ago
Sorry, I keep going back and forth in my head on this one.

Marking as WontFix, since any setPathTo method would be equivalent to calls to 
reset() followed by moveTo, lineTo, etc.  Adding them as instance methods to 
PPath might cause confusion between float and double precision arguments, and 
adding them as instance methods on PPath.Float and PPath.Double would mean they 
wouldn't be visible on the enclosing superclass.

Original comment by heue...@gmail.com on 30 Dec 2014 at 3:07