Package armyc2.c5isr.renderer.utilities
Class SVGSymbolInfo
java.lang.Object
armyc2.c5isr.renderer.utilities.SVGSymbolInfo
- All Implemented Interfaces:
SymbolDimensionInfo
-
Constructor Summary
ConstructorsConstructorDescriptionSVGSymbolInfo(String svg, Point anchorPoint, Rect symbolBounds, Rect svgBounds) -
Method Summary
Modifier and TypeMethodDescriptionThe point the image should be centered on or the "anchor point".intThe x value the image should be centered on or the "anchor point".intThe y value the image should be centered on or the "anchor point".Dimension of the entire image.getSVG()minimum bounding rectangle for the core symbol.
-
Constructor Details
-
SVGSymbolInfo
-
-
Method Details
-
getSVGDataURI
-
getSVG
-
getCenterX
The x value the image should be centered on or the "anchor point".- Specified by:
getCenterXin interfaceSymbolDimensionInfo- Returns:
Integer
-
getCenterY
The y value the image should be centered on or the "anchor point".- Specified by:
getCenterYin interfaceSymbolDimensionInfo- Returns:
Integer
-
getCenterPoint
The point the image should be centered on or the "anchor point".- Specified by:
getCenterPointin interfaceSymbolDimensionInfo- Returns:
Point
-
getSymbolBounds
minimum bounding rectangle for the core symbol. Does not include modifiers, display or otherwise.- Specified by:
getSymbolBoundsin interfaceSymbolDimensionInfo- Returns:
Rect
-
getImageBounds
Dimension of the entire image.- Specified by:
getImageBoundsin interfaceSymbolDimensionInfo- Returns:
Rect
-