piccolo2d / piccolo2d.java

Structured 2D Graphics Framework
http://piccolo2d.org
Other
51 stars 14 forks source link

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

Closed mro closed 9 years ago

mro commented 9 years ago

Originally reported on Google Code with ID 259

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

Reported by heuermh on 2014-08-08 21:33:58

mro commented 9 years ago

Reported by heuermh on 2014-12-29 22:45:59

mro commented 9 years ago

Reported by heuermh on 2014-12-29 23:39:38

mro 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.

Reported by heuermh on 2014-12-30 03:07:08