Class PinEqualCoordinatesStyle
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.renderer.style.PinEqualCoordinatesStyle
-
-
Constructor Summary
Constructors Constructor Description PinEqualCoordinatesStyle()
Parameterless constructor for Java2XML persistence.PinEqualCoordinatesStyle(Color color)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
static boolean
coordinatesEqual(org.locationtech.jts.geom.Geometry geometry)
Color
getColor()
void
initialize(Layer layer)
Called before #paint is applied to each Feature.boolean
isEnabled()
void
paint(Feature f, Graphics2D g, Viewport viewport)
protected void
paintGeometry(org.locationtech.jts.geom.Geometry geometry, Graphics2D graphics, Viewport viewport)
void
setColor(Color color)
void
setEnabled(boolean enabled)
-
-
-
Constructor Detail
-
PinEqualCoordinatesStyle
public PinEqualCoordinatesStyle()
Parameterless constructor for Java2XML persistence. [Jon Aquino]
-
PinEqualCoordinatesStyle
public PinEqualCoordinatesStyle(Color color)
-
-
Method Detail
-
initialize
public void initialize(Layer layer)
Description copied from interface:Style
Called before #paint is applied to each Feature.- Specified by:
initialize
in interfaceStyle
-
paint
public void paint(Feature f, Graphics2D g, Viewport viewport) throws Exception
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interfaceStyle
-
paintGeometry
protected void paintGeometry(org.locationtech.jts.geom.Geometry geometry, Graphics2D graphics, Viewport viewport) throws Exception
- Throws:
Exception
-
coordinatesEqual
public static boolean coordinatesEqual(org.locationtech.jts.geom.Geometry geometry)
-
getColor
public Color getColor()
-
setColor
public void setColor(Color color)
-
-