public class Point extends Geometry
Modifier and Type | Field and Description |
---|---|
static int |
pointNr |
String |
text |
extent, requestExtent, stroke
Constructor and Description |
---|
Point() |
Modifier and Type | Method and Description |
---|---|
void |
add(Point2D pt)
Permite añadir un punto a la Geometry.
|
Color |
c() |
Color |
c(Color color) |
void |
draw(Graphics2D g,
ViewPortData vp)
Permite dibujar la Geometry.
|
Color |
fillColor() |
Color |
fillColor(Color c) |
IProjection |
getProjection()
Devuelve la proyección cartográfica en la que se encuentra la Geometry.
|
boolean |
isTextPoint() |
void |
reProject(ICoordTrans rp)
Permite reproyectar la Geometry en función de unas coordenadas de transformación.
|
void |
setProjection(IProjection p) |
void |
setTextPoint(boolean textPoint) |
public static int pointNr
public String text
public void add(Point2D pt)
Geometry
public Color c()
public Color fillColor()
public IProjection getProjection()
Geometry
getProjection
in interface Projected
getProjection
in class Geometry
Projected.reProject(ICoordTrans)
public void setProjection(IProjection p)
public void reProject(ICoordTrans rp)
Geometry
reProject
in interface Projected
reProject
in class Geometry
rp
- transformation coordinates for obtaining the new projectionProjected.getProjection()
public void draw(Graphics2D g, ViewPortData vp)
Geometry
public boolean isTextPoint()
public void setTextPoint(boolean textPoint)
textPoint
- The textPoint to set.