Package JavaTacticalRenderer
Class clsMETOC
java.lang.Object
JavaTacticalRenderer.clsMETOC
Class to calculate the points for the Weather symbols
- Author:
- Michael Deutch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidGetMeTOCShape(TGLight tg, ArrayList<Shape2> shapes, int rev) The public interface, main function to return METOC shapesstatic intgetWeatherLinetype(String SymbolSet, String entityCode) Rev D METOC symbolsstatic intprotected static voidSetShapeProperties(TGLight tg, ArrayList<Shape2> shapes, BufferedImage bi) Sets the shape properties based on the tacttical graphic properties and also based on shape styles which may have been set by JavaLineArray
-
Constructor Details
-
clsMETOC
public clsMETOC()
-
-
Method Details
-
IsWeather
- Parameters:
symbolID- Mil-Standard 2525 15 character code- Returns:
- the line type as an integer if it is a weather symbol, else return -1
-
getWeatherLinetype
Rev D METOC symbols- Parameters:
SymbolSet-entityCode-- Returns:
-
GetMeTOCShape
The public interface, main function to return METOC shapes- Parameters:
tg- the tactical graphicshapes- the ShapeInfo arrayrev- the Mil-Standard-2525 revision
-
SetShapeProperties
Sets the shape properties based on the tacttical graphic properties and also based on shape styles which may have been set by JavaLineArray- Parameters:
tg-shapes- shapes array to set propertiesbi- BufferedImage used for hatch fills
-