Class PolygonStructureStyle
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
-
- org.locationtech.jtstest.testbuilder.ui.style.PolygonStructureStyle
-
- All Implemented Interfaces:
Style
public class PolygonStructureStyle extends LineStringStyle
Shows polygon structure (shells versus holes) by symbolizing the rings differently.- Author:
- Martin Davis
-
-
Field Summary
-
Fields inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
LINE, POLY_HOLE, POLY_SHELL
-
-
Constructor Summary
Constructors Constructor Description PolygonStructureStyle(Color color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
paintLineString(LineString lineString, int lineType, Viewport viewport, Graphics2D gr)
-
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
paint, paint
-
-
-
-
Constructor Detail
-
PolygonStructureStyle
public PolygonStructureStyle(Color color)
-
-
Method Detail
-
paintLineString
protected void paintLineString(LineString lineString, int lineType, Viewport viewport, Graphics2D gr) throws Exception
- Specified by:
paintLineString
in classLineStringStyle
- Throws:
Exception
-
-