Class PointShapeFactory.Square

All Implemented Interfaces:
PointShapeFactory
Enclosing interface:
PointShapeFactory

public static class PointShapeFactory.Square extends PointShapeFactory.BasePointShapeFactory
  • Constructor Details

    • Square

      public Square()
      Creates a new factory for squares with default size.
    • Square

      public Square(double size)
      Creates a factory for squares of given size.
      Parameters:
      size - the size of the points
  • Method Details