Constructor and Description |
---|
PinEqualCoordinatesStyle()
Parameterless constructor for Java2XML persistence.
|
PinEqualCoordinatesStyle(java.awt.Color color) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
static boolean |
coordinatesEqual(com.vividsolutions.jts.geom.Geometry geometry) |
java.awt.Color |
getColor() |
void |
initialize(Layer layer)
Called before #paint is applied to each Feature.
|
boolean |
isEnabled() |
void |
paint(Feature f,
java.awt.Graphics2D g,
Viewport viewport) |
protected void |
paintGeometry(com.vividsolutions.jts.geom.Geometry geometry,
java.awt.Graphics2D graphics,
Viewport viewport) |
void |
setColor(java.awt.Color color) |
void |
setEnabled(boolean enabled) |
public PinEqualCoordinatesStyle()
public PinEqualCoordinatesStyle(java.awt.Color color)
public boolean isEnabled()
public void initialize(Layer layer)
Style
initialize
in interface Style
public java.lang.Object clone()
public void paint(Feature f, java.awt.Graphics2D g, Viewport viewport) throws java.lang.Exception
public void setEnabled(boolean enabled)
setEnabled
in interface Style
protected void paintGeometry(com.vividsolutions.jts.geom.Geometry geometry, java.awt.Graphics2D graphics, Viewport viewport) throws java.lang.Exception
java.lang.Exception
public static boolean coordinatesEqual(com.vividsolutions.jts.geom.Geometry geometry)
public java.awt.Color getColor()
public void setColor(java.awt.Color color)