public class LineString extends Geometry
| Modifier and Type | Field and Description |
|---|---|
static int |
pointNr |
extent, requestExtent, stroke| Constructor and Description |
|---|
LineString() |
| 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.
|
void |
remove(int i) |
void |
reProject(ICoordTrans rp)
Permite reproyectar la Geometry en función de unas coordenadas de transformación.
|
void |
setProjection(IProjection p) |
public void add(Point2D pt)
Geometrypublic void remove(int i)
public Color c()
public Color fillColor()
public IProjection getProjection()
GeometrygetProjection in interface ProjectedgetProjection in class GeometryProjected.reProject(ICoordTrans)public void setProjection(IProjection p)
public void reProject(ICoordTrans rp)
GeometryreProject in interface ProjectedreProject in class Geometryrp - transformation coordinates for obtaining the new projectionProjected.getProjection()public void draw(Graphics2D g, ViewPortData vp)
Geometry