Package ArmyC2.C2SD.Rendering
Class TacticalGraphicIconRenderer
java.lang.Object
ArmyC2.C2SD.Rendering.TacticalGraphicIconRenderer
- Author:
- michael.spinelli
-
Method Summary
Modifier and TypeMethodDescriptionbooleanArmyC2.C2SD.Utilities.ImageInfodefault size to 25x25 and color to affiliation colorArmyC2.C2SD.Utilities.ImageInfodefaults color to affiliation colorArmyC2.C2SD.Utilities.ImageInfoArmyC2.C2SD.Utilities.ImageInfostatic TacticalGraphicIconRendererInstance of the TacticalGraphicIconRenderer
-
Method Details
-
CanRender
-
getInstance
Instance of the TacticalGraphicIconRenderer- Returns:
- the instance
-
getIcon
default size to 25x25 and color to affiliation color- Parameters:
symbolID-- Returns:
-
getIcon
defaults color to affiliation color- Parameters:
symbolID-iconHeightWidth-- Returns:
-
getIcon
-
getIcon
public ArmyC2.C2SD.Utilities.ImageInfo getIcon(String symbolID, int iconHeightWidth, Color color, int symStd) - Parameters:
symbolID- ID of the MilStdSymboliconHeightWidth- represents the dimensions of the icon (i.e. 25 = 25x25 icon)color- overrides the default affiliation line color. If null, will use default.symStd- 0 for 2525B, 1 for 2525C.- Returns:
-