Revision: 804 Author: allain.lalonde Date: Thu Oct 22 20:47:12 2009 Log: Rolling back deprecation from r765. Users shouldn't need to know that PFixedWidthFont is an adapter to an underlying BasicStroke. http://code.google.com/p/piccolo2d/source/detail?r=804
Modified: /piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/util/PFixedWidthStroke.java ======================================= --- /piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/util/PFixedWidthStroke.java Tue Oct 20 08:08:58 2009 +++ /piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/util/PFixedWidthStroke.java Thu Oct 22 20:47:12 2009 @@ -81,7 +81,9 @@ } /** - * This should be "public" and the "main" constructor. + * Making this constructor public would break encapsulation. Users don't + * need to know that they are dealing with an adapter to an underlying + * stroke. * * @param stroke stroke being used by this PFixedWithStroke */ @@ -99,8 +101,6 @@ /** * Constructs a simple PFixedWidthStroke with the width provided. * - * @deprecated in favor of PFixedWidthStroke(BasicStroke stroke) - * * @param width desired width of the stroke */ public PFixedWidthStroke(final float width) { @@ -110,8 +110,6 @@ /** * Constructs a PFixedWidthStroke with the stroke properties provided. * - * @deprecated in favor of PFixedWidthStroke(BasicStroke stroke) - * * @param width width of stroke * @param cap cap to use in stroke * @param join join to use in stroke @@ -123,8 +121,6 @@ /** * Constructs a PFixedWidthStroke with the stroke properties provided. * - * @deprecated in favor of PFixedWidthStroke(BasicStroke stroke) - * * @param width width of stroke * @param cap cap to use in stroke * @param join join to use in stroke @@ -137,8 +133,6 @@ /** * Constructs a PFixedWidthStroke with the stroke properties provided. * - * @deprecated in favor of PFixedWidthStroke(BasicStroke stroke) - * * @param width width of stroke * @param cap cap to use in stroke * @param join join to use in stroke --~--~---------~--~----~------------~-------~--~----~ Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en -~----------~----~----~----~------~----~------~--~---