Uses of Class
JavaTacticalRenderer.TGLight
Packages that use TGLight
-
Uses of TGLight in JavaTacticalRenderer
Methods in JavaTacticalRenderer with parameters of type TGLightModifier and TypeMethodDescriptionstatic voidModifier2.AddModifiers2(TGLight tg) Called by the renderer after tg.Pixels has been filled with the calculated points.static voidModifier2.AddModifiers2RevD(TGLight tg, ArrayList<Shape2> shapes) Handles rev D codesstatic voidModifier2.AddModifiersGeo(TGLight tg, Graphics2D g2d, Object clipBounds, IPointConversion converter) Function to replace AddModifiers for most clients.static voidModifier2.AddModifiersGeo2(TGLight tg, Graphics2D g2d, Object clipBounds, IPointConversion converter) The new public interface to handle Mil-Std-2525 Rev D, replaces or calls AddModifiersGeostatic booleanModifier2.addSectorModifiers(TGLight tg, IPointConversion converter) Added sector range fan modifiers based using the calculated orientation indicator pointsstatic Shape2Modifier2.BuildModifierShape(TGLight tg, POINT2 pt0, POINT2 pt1, int stringWidth, int stringHeight, double lineFactor, boolean isTextFlipped) Returns a Shape object for the text background for labels and modifiersstatic voidModifier2.DisplayModifiers(TGLight tg, Graphics2D g2d) Displays the tg modifiers using a client Graphics2D, this is an option provided to clients for displaying modifiers without using shapesstatic voidModifier2.DisplayModifiers2(TGLight tg, Graphics2D g2d, ArrayList<Shape2> shapes, boolean isTextFlipped, IPointConversion converter) Displays the modifiers to a Graphics2D from a BufferedImagestatic voidclsChannelUtility.DrawChannel(ArrayList<POINT2> pixels, int linetype, TGLight tg, ArrayList<Shape2> shapes, ArrayList<POINT2> channelPoints, int rev) The main interface to clsChannelUtility calls DrawChannel2 after stuffing the points into an array of 2-tuples x,ystatic voidclsUtility.FilterVerticalSegments(TGLight tg) do not allow vertical segments for these, move the point x value by 1 pixelprotected static Line2DclsUtility.getExtendedLine(TGLight tg, int index, double dist) construct a line segment outside the polygon corresponding to some indexstatic Shape2clsUtility.getHatchShape(TGLight tg, BufferedImage bi) static voidModifier2.GetIntegralTextShapes(TGLight tg, Graphics2D g2d, ArrayList<Shape2> shapes) For BOUNDARY and other line types which require breaks for the integral text.static voidReturns symbol MBR.static voidclsMETOC.GetMeTOCShape(TGLight tg, ArrayList<Shape2> shapes, int rev) The public interface, main function to return METOC shapesclsUtility.getMSRSegmentColors(TGLight tg) Client will send the segment colors within a modifier.static HashMapclsUtility.getMSRSegmentColorStrings(TGLight tg) clsChannelUtility.GetPartitions2(TGLight tg) utility for clsMETOC to handle double-backed segmentsstatic double[]Note: Mil-Std-2525 Rev C does not use this function.static voidclsUtility.GetSectorRadiiFromPoints(TGLight tg) For each sector calculates left azimuth, right azimuth, min radius, max radius and stuff H2 with the string delimited result.static booleanclsUtility.graphicContainsClipBounds(TGLight tg, Rectangle2D clipBounds) Deprecated.test to see if the pixels outline contains the clip boundsstatic voidclsUtility.InterpolatePixels(TGLight tg) Interpolate pixels for lines with points too close together.static booleanclsUtility.isAutoshape(TGLight tg) static booleanclsUtility.linesOutsideClipBounds(TGLight tg, Rectangle2D clipBounds) returns true if the line segments are all outside the boundsstatic voidModifier2.RemoveModifiers(TGLight tg, Graphics2D g2d, boolean isTextFlipped, int iteration) removes text modifiers for CPOF tactical areas which do not fit inside the symbol MBRprotected static voidclsUtility.ResolveModifierShape(TGLight tg, Shape2 shape) Overrides shape properties for symbols based on Mil-Std-2525static voidclsUtility.ReverseUSASLCPointsByQuadrant(TGLight tg) USAS requires a left-right orientation for ENY, which negates the upper-lower orientation we used for Mil-Std-2525 ENY compliance.static voidclsUtility.reviseHModifier(ArrayList<POINT2> originalPixels, TGLight tg) Deprecated.tg.H must be revised for clipped MSR, ASR and Boundary This function is called after the pixels were clippedprotected static voidclsUtility.SetLCColor(TGLight tg, Shape2 shape) Sets the color for the current shape depending on the affiliationstatic voidRev C requires max 50 anchor points for the axis of advance symbolsprotected static voidclsMETOC.SetShapeProperties(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 JavaLineArraystatic voidclsUtility.SetShapeProperties(TGLight tg, ArrayList<Shape2> shapes, BufferedImage bi) Sets shape properties based on other properties which were set by JavaLineArraystatic voidclsUtility.tweakFillColor(TGLight tg) Deprecated.if the line color and fill color are the same or very close then we want to tweak the fill color a bit to make the line appear distinct from the fill.