Comment #1 on issue 114 by heuermh: Minor API improvements to PText
http://code.google.com/p/piccolo2d/issues/detail?id=114

More bad smells:

font property can be set to null, but then DEFAULT_FONT is used.  Would be  
better if
it were set to DEFAULT_FONT on construction and if setFont(null) threw IAE  
or NPE.

no validation is performed on setting justification values.

no provision is made for setting text rendering hints  
(KEY_TEXT_ANTIALIASING,
KEY_TEXT_LCD_CONTRAST, KEY_FRACTIONALMETRICS) other than what is provided by
PPaintContext.RENDER_QUALITY_HIGH_FRC

--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to