Package ArmyC2.C2SD.Rendering
Class SinglePointRenderer
java.lang.Object
ArmyC2.C2SD.Rendering.SinglePointRenderer
- Author:
- michael.spinelli
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic SinglePointRendererInstance of the JavaRendererintintvoidProcessSPSymbol(ArmyC2.C2SD.Utilities.MilStdSymbol symbol, ArmyC2.C2SD.Utilities.IPointConversion converter) given a MilStdSymbol, creates the shapes for the symbol and the shapes for the modifiers (not yet on the modifiers);voidProcessUnitSymbol(ArmyC2.C2SD.Utilities.MilStdSymbol symbol, ArmyC2.C2SD.Utilities.IPointConversion converter) given a MilStdSymbol, creates the shapes for the symbol and the shapes for the modifiers (not yet on the modifiers);voidreloads modifier font based on the current RendererSettingsvoidsetModifierFont(Font font) Deprecated.voidsetModifierFont(String name, int type, int size) Deprecated.voidsetSinglePointTGSymbolSize(int size) voidsetUnitSymbolSize(int size)
-
Field Details
-
UnitSizeMedium
public static final int UnitSizeMedium- See Also:
-
UnitSizeSmall
public static final int UnitSizeSmall- See Also:
-
UnitSizeLarge
public static final int UnitSizeLarge- See Also:
-
UnitSizeXL
public static final int UnitSizeXL- See Also:
-
SymbolSizeMedium
public static final int SymbolSizeMedium- See Also:
-
SymbolSizeSmall
public static final int SymbolSizeSmall- See Also:
-
SymbolSizeLarge
public static final int SymbolSizeLarge- See Also:
-
SymbolSizeXL
public static final int SymbolSizeXL- See Also:
-
-
Method Details
-
getInstance
Instance of the JavaRenderer- Returns:
- the instance
-
ProcessUnitSymbol
public void ProcessUnitSymbol(ArmyC2.C2SD.Utilities.MilStdSymbol symbol, ArmyC2.C2SD.Utilities.IPointConversion converter) given a MilStdSymbol, creates the shapes for the symbol and the shapes for the modifiers (not yet on the modifiers);- Parameters:
symbol- - MilStdSymbolconverter-
-
ProcessSPSymbol
public void ProcessSPSymbol(ArmyC2.C2SD.Utilities.MilStdSymbol symbol, ArmyC2.C2SD.Utilities.IPointConversion converter) given a MilStdSymbol, creates the shapes for the symbol and the shapes for the modifiers (not yet on the modifiers);- Parameters:
symbol-converter-
-
getSinglePointTGSymbolSize
public int getSinglePointTGSymbolSize() -
getUnitSymbolSize
public int getUnitSymbolSize() -
setSinglePointTGSymbolSize
public void setSinglePointTGSymbolSize(int size) -
setUnitSymbolSize
public void setUnitSymbolSize(int size) -
RefreshModifierFont
public void RefreshModifierFont()reloads modifier font based on the current RendererSettings -
setModifierFont
Deprecated.- Parameters:
name-type-size-
-
setModifierFont
Deprecated.- Parameters:
font-
-