Package armyc2.c5isr.renderer.utilities
Interface SymbolDimensionInfo
-
- All Known Implementing Classes:
ImageInfo,SVGSymbolInfo
public interface SymbolDimensionInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.geom.Rectangle2DgetImageBounds()Dimension of the entire image.java.awt.geom.Rectangle2DgetSymbolBounds()minimum bounding rectangle for the core symbol.java.awt.PointgetSymbolCenterPoint()The point the image should be centered on or the "anchor point".intgetSymbolCenterX()The x value the image should be centered on or the "anchor point".intgetSymbolCenterY()The y value the image should be centered on or the "anchor point".
-
-
-
Method Detail
-
getSymbolCenterX
int getSymbolCenterX()
The x value the image should be centered on or the "anchor point".- Returns:
Integer
-
getSymbolCenterY
int getSymbolCenterY()
The y value the image should be centered on or the "anchor point".- Returns:
Integer
-
getSymbolCenterPoint
java.awt.Point getSymbolCenterPoint()
The point the image should be centered on or the "anchor point".- Returns:
Point
-
getSymbolBounds
java.awt.geom.Rectangle2D getSymbolBounds()
minimum bounding rectangle for the core symbol. Does not include modifiers, display or otherwise.- Returns:
Rectangle2D
-
getImageBounds
java.awt.geom.Rectangle2D getImageBounds()
Dimension of the entire image.- Returns:
Rectangle2D
-
-