Package snap.viewx

Class QuickDrawPen.PenPath

All Implemented Interfaces:
Cloneable
Enclosing class:
QuickDrawPen

protected static class QuickDrawPen.PenPath extends Path2D
A path subclass to hold color and width.
  • Constructor Details

    • PenPath

      public PenPath(Color aColor, double aWidth)
      Constructor.
  • Method Details

    • getColor

      public Color getColor()
      Returns the color.
    • getWidth

      public double getWidth()
      Returns the stroke width.
      Overrides:
      getWidth in class Shape