Class TacticalGraphicIconRenderer

java.lang.Object
ArmyC2.C2SD.Rendering.TacticalGraphicIconRenderer

public class TacticalGraphicIconRenderer extends Object
Author:
michael.spinelli
  • Method Details

    • CanRender

      public boolean CanRender(String symbolID)
    • getInstance

      public static TacticalGraphicIconRenderer getInstance()
      Instance of the TacticalGraphicIconRenderer
      Returns:
      the instance
    • getIcon

      public ArmyC2.C2SD.Utilities.ImageInfo getIcon(String symbolID)
      default size to 25x25 and color to affiliation color
      Parameters:
      symbolID -
      Returns:
    • getIcon

      public ArmyC2.C2SD.Utilities.ImageInfo getIcon(String symbolID, int iconHeightWidth)
      defaults color to affiliation color
      Parameters:
      symbolID -
      iconHeightWidth -
      Returns:
    • getIcon

      public ArmyC2.C2SD.Utilities.ImageInfo getIcon(String symbolID, int iconHeightWidth, Color color)
    • getIcon

      public ArmyC2.C2SD.Utilities.ImageInfo getIcon(String symbolID, int iconHeightWidth, Color color, int symStd)
      Parameters:
      symbolID - ID of the MilStdSymbol
      iconHeightWidth - 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: