Package armyc2.c5isr.renderer.utilities
Class SVGSymbolInfo
java.lang.Object
armyc2.c5isr.renderer.utilities.SVGSymbolInfo
- All Implemented Interfaces:
SymbolDimensionInfo
-
Constructor Summary
ConstructorsConstructorDescriptionSVGSymbolInfo(String svg, PointF anchorPoint, RectF symbolBounds, RectF svgBounds) SVGSymbolInfo(String svg, Point anchorPoint, Rect symbolBounds, Rect svgBounds) -
Method Summary
Modifier and TypeMethodDescriptionThe point the image should be centered on or the "anchor point".The 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.Dimension of the entire image.getSVG()minimum bounding rectangle for the core symbol.minimum bounding rectangle for the core symbol.
-
Constructor Details
-
SVGSymbolInfo
-
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
-
getCenterPointF
The point the image should be centered on or the "anchor point".- Returns:
PointF
-
getSymbolBounds
minimum bounding rectangle for the core symbol. Does not include modifiers, display or otherwise.- Specified by:
getSymbolBoundsin interfaceSymbolDimensionInfo- Returns:
Rect
-
getSymbolBoundsF
minimum bounding rectangle for the core symbol. Does not include modifiers, display or otherwise.- Returns:
RectF
-
getImageBounds
Dimension of the entire image.- Specified by:
getImageBoundsin interfaceSymbolDimensionInfo- Returns:
Rect
-
getImageBoundsF
Dimension of the entire image.- Returns:
RectF
-