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.
-
-
Field Summary
Fields Modifier and Type Field Description private java.awt.Color
color
-
Fields inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
LINE, POLY_HOLE, POLY_SHELL
-
-
Constructor Summary
Constructors Constructor Description PolygonStructureStyle(java.awt.Color color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D gr)
-
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
paint, paint
-
-
-
-
Method Detail
-
paintLineString
protected void paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D gr) throws java.lang.Exception
- Specified by:
paintLineString
in classLineStringStyle
- Throws:
java.lang.Exception
-
-