Status: New Owner: ---- Labels: Type-Enhancement Priority-Low Effort-Low OpSys-All Toolkit-Piccolo2D.Java Component-Core
New issue 114 by heuermh: Minor API improvements to PText http://code.google.com/p/piccolo2d/issues/detail?id=114 When considering the code on the phtml branch, I noticed a few things that could be improved with PText. textPaint is not implemented as a bound property. The default textPaint (Color.BLACK) should be public, or package-private at a minimum so that it is accessible to unit tests. justification should be called horizontalAlignment. constrainWidthToTextWidth and constrainHeightToTextHeight are poorly named. I am open to suggestions for these. Should justification/constrain... be implemented as bound properties? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en -~----------~----~----~----~------~----~------~--~---
