Renderer Settings
Static class that holds the setting for the JavaRenderer. Allows different parts of the renderer to know what values are being used.
Functions
if true (default), when HQ Staff is present, location will be indicated by the free end of the staff
default size single point icons will render on the map
True to draw as modifier label in the "E/F" location. False to draw at the top right corner of the symbol
get the preferred fill affiliation color for graphics.
get the preferred line affiliation color for graphics.
get the preferred fill affiliation color for units.
get the preferred line affiliation color for units.
get the preferred fill affiliation color for graphics.
get the preferred line affiliation color for graphics.
get the preferred fill affiliation color for units.
get the preferred line affiliation color for units.
get font object used for labels
the font name to be used for modifier labels
get font point size
Like Font.BOLD
get font object used for labels
the font name to be used for modifier labels
get font point size
Like Font.BOLD
get the preferred fill affiliation color for graphics.
get the preferred line affiliation color for graphics.
get the preferred fill affiliation color for units.
get the preferred line affiliation color for units.
Returns the value determining if we scale the echelon font size or just match the font size specified by the label font.
When true, if the main icon is normally small to allow room for sector modifiers, main icon is made larger when no sector modifiers are present for better visibility.
This applies to Single Point Tactical Graphics.
Value from 0 to 255. The closer to 0 the lighter the text color has to be to have the outline be black. Default value is 160.
None, outline (default), or filled background.
if RenderSettings.TextBackgroundMethod_OUTLINE is used, the outline will be this many pixels wide.
Get a boolean indicating between the use of ENY labels in all segments (false) or to only set 2 labels one at the north and the other one at the south of the graphic (true).
get the preferred fill affiliation color for graphics.
get the preferred line affiliation color for graphics.
get the preferred fill affiliation color for units.
get the preferred line affiliation color for units.
Returns the current setting for Line Interpolation.
Collapse Modifiers for fire support areas when the symbol isn't large enough to show all the labels. Identifying label will always be visible. Zooming in, to make the symbol larger, will make more modifiers visible. Resizing the symbol can also make more modifiers visible.
if true (default), when HQ Staff is present, location will be indicated by the free end of the staff
default size single point icons will render on the map
set the screen DPI so the renderer can take DPI into account when rendering for things like dashed lines and decorated lines.
Determines how to draw the Affiliation modifier. True to draw as modifier label in the "E/F" location. False to draw at the top right corner of the symbol
Set the preferred fill affiliation color for graphics
Set the preferred line affiliation color for graphics
Set the preferred fill affiliation color for units
Set the preferred line affiliation color for units
Set the preferred line and fill affiliation color for tactical graphics.
Set the preferred fill affiliation color for graphics
Set the preferred line affiliation color for graphics
Set the preferred fill affiliation color for units
Set the preferred line affiliation color for units
Sets the font to be used for modifier labels
Set the preferred fill affiliation color for graphics
Set the preferred line affiliation color for graphics
Set the preferred line affiliation color for units
Set the preferred line affiliation color for units
Set the operational condition modifier to be slashes or bars
false to use label font size true to scale it using symbolPixelBounds / 3.5
When true, if the main icon is normally small to allow room for sector modifiers, make it larger when no sector modifiers are present for better visibility.
This applies to Single Point Tactical Graphics. Setting this will determine the default value for milStdSymbols when created. 0 for no outline, 1 for outline thickness of 1 pixel, 2 for outline thickness of 2 pixels, greater than 2 is not currently recommended.
Value from 0 to 255. The closer to 0 the lighter the text color has to be to have the outline be black. Default value is 160.
None, outline (default), or filled background. If set to OUTLINE, TextOutlineWidth changed to default of 4. If set to OUTLINE_QUICK, TextOutlineWidth changed to default of 1. Use setTextOutlineWidth if you'd like a different value.
Set the preferred line and fill affiliation color for units and tactical graphics.
Set the preferred fill affiliation color for graphics
Set the preferred line affiliation color for graphics
Set the preferred fill affiliation color for units
Set the preferred line affiliation color for units
For lines symbols with "decorations" like FLOT or LOC, when points are too close together, we will start dropping points until we get enough space between 2 points to draw the decoration. Without this, when points are too close together, you run the chance that the decorated line will look like a plain line because there was no room between points to draw the decoration.