Package snap.games

Class PenActor.PenPath

All Implemented Interfaces:
Cloneable
Enclosing class:
PenActor

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

    • PenPath

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

    • getColor

      public Color getColor()
    • getWidth

      public double getWidth()
      Description copied from class: Shape
      Returns the shape bounds width.
      Overrides:
      getWidth in class Shape