|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interfaz de Geometría.
Field Summary | |
static int |
BEST
|
static int |
E
|
static int |
N
|
static int |
NE
|
static int |
NW
|
static int |
S
|
static int |
SE
|
static int |
SELECTHANDLER
|
static int |
STRETCHINGHANDLER
|
static int |
SW
|
static int |
W
|
Method Summary | |
IGeometry |
cloneGeometry()
Clona la Geometría. |
void |
draw(java.awt.Graphics2D g,
ViewPort vp,
FSymbol symbol,
java.awt.geom.AffineTransform at)
Dibuja la geometría sobre el Graphics2D que se pasa como parámetro. |
void |
drawInts(java.awt.Graphics2D g,
ViewPort vp,
FSymbol symbol,
java.awt.geom.AffineTransform at)
You can use this function if you are going to draw into a bitmap. |
java.awt.geom.Rectangle2D |
getBounds2D()
Devuelve el Rectángulo que ocupa la geometría. |
int |
getGeometryType()
Obtiene el tipo de la geometría |
Handler[] |
getHandlers(int type)
It returns the handlers of the geomety, these they can be of two types is straightening and of seleccion. |
java.awt.Shape |
getInternalShape()
Useful to have the real shape behind the scenes. |
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at)
Devuelve el GeneralPathXIterator con la información relativa a la geometría. |
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at,
double flatness)
|
boolean |
intersects(java.awt.geom.Rectangle2D r)
Devuelve true si la geometría intersecta con el rectángulo que se pasa como parámetro. |
void |
reProject(ICoordTrans ct)
Reproyecta la geometría a partir del transformador de coordenadas. |
void |
transform(java.awt.geom.AffineTransform at)
|
Methods inherited from interface java.awt.Shape |
contains, contains, contains, contains, getBounds, intersects |
Field Detail |
public static final int BEST
public static final int N
public static final int NE
public static final int E
public static final int SE
public static final int S
public static final int SW
public static final int W
public static final int NW
public static final int SELECTHANDLER
public static final int STRETCHINGHANDLER
Method Detail |
public void draw(java.awt.Graphics2D g, ViewPort vp, FSymbol symbol, java.awt.geom.AffineTransform at)
g
- Graphics2D.vp
- ViewPort.symbol
- Símbolo.public void drawInts(java.awt.Graphics2D g, ViewPort vp, FSymbol symbol, java.awt.geom.AffineTransform at)
g
- vp
- symbol
- public int getGeometryType()
public IGeometry cloneGeometry()
public boolean intersects(java.awt.geom.Rectangle2D r)
intersects
in interface java.awt.Shape
r
- Rectángulo.
public java.awt.geom.Rectangle2D getBounds2D()
getBounds2D
in interface java.awt.Shape
public void reProject(ICoordTrans ct)
ct
- Coordinate Transformer.public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
getPathIterator
in interface java.awt.Shape
at
- TODO
public Handler[] getHandlers(int type)
type
- Type of handlers
public void transform(java.awt.geom.AffineTransform at)
public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at, double flatness)
getPathIterator
in interface java.awt.Shape
public java.awt.Shape getInternalShape()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |