Package armyc2.c5isr.renderer.utilities
Class ImageInfo
java.lang.Object
armyc2.c5isr.renderer.utilities.ImageInfo
- All Implemented Interfaces:
 SymbolDimensionInfo
Object that holds an image of the symbol and all the information
 needed to place the symbol on the screen.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintThe 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".getImage()Dimension of the entire image.Not a full clone.minimum bounding rectangle for the core symbol. 
- 
Constructor Details
- 
ImageInfo
Creates a new Image info with copied values but a link to the original image.- Parameters:
 original-ImageInfo
 - 
ImageInfo
Creates a new ImageInfo object 
 - 
 - 
Method Details
- 
getLightClone
Not a full clone. Only centerPoint and symbolBounds are copies. Bitmap is still a reference. - 
getClone
 - 
getImage
 - 
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
Description copied from interface:SymbolDimensionInfoThe point the image should be centered on or the "anchor point".- Specified by:
 getCenterPointin interfaceSymbolDimensionInfo- Returns:
 Point
 - 
getSymbolBounds
Description copied from interface:SymbolDimensionInfominimum bounding rectangle for the core symbol. Does not include modifiers, display or otherwise.- Specified by:
 getSymbolBoundsin interfaceSymbolDimensionInfo- Returns:
 Rect
 - 
getImageBounds
Description copied from interface:SymbolDimensionInfoDimension of the entire image.- Specified by:
 getImageBoundsin interfaceSymbolDimensionInfo- Returns:
 Rect
 - 
getByteCount
 - 
getSquareImageInfo
 
 -