PolygonHandler.withType constructor

PolygonHandler.withType(
  1. ShapeType shapeType,
  2. GeometryFactory geometryFactory
)

Implementation

PolygonHandler.withType(this.shapeType, this.geometryFactory) {
  if (!shapeType.isPolygonType()) {
    throw ShapefileException(
        "PolygonHandler constructor - expected type to be 5, 15, or 25.");
  }
}