diff --git a/extras/src/main/java/edu/umd/cs/piccolox/util/PFixedWidthStroke.java b/extras/src/main/java/edu/umd/cs/piccolox/util/PFixedWidthStroke.java index 3d42e8f..b15820c 100644 --- a/extras/src/main/java/edu/umd/cs/piccolox/util/PFixedWidthStroke.java +++ b/extras/src/main/java/edu/umd/cs/piccolox/util/PFixedWidthStroke.java @@ -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