Package armyc2.c5isr.RenderMultipoints
Class clsClipPolygon2
java.lang.Object
armyc2.c5isr.RenderMultipoints.clsClipPolygon2
A class to clip tactical lines and areas
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addAbatisFill
(TGLight tg, ArrayList<Shape2> shapes) for pre-clipped lines which also require fill but need the processed points to create the fill.ClipPolygon
(TGLight tg, Rectangle2D clipBounds) Works for tactical lines and areasfillDMA
(TGLight tg, Rectangle2D clipBounds) DMA, DMAF fill must be handled separately because of the feintLinesWithFill
(TGLight tg, Rectangle2D clipBounds) for lines with glyphs the fill must be handled (clipped) as a separate shape.
-
Constructor Details
-
clsClipPolygon2
public clsClipPolygon2()
-
-
Method Details
-
fillDMA
DMA, DMAF fill must be handled separately because of the feint- Parameters:
tg
-clipBounds
-- Returns:
-
addAbatisFill
for pre-clipped lines which also require fill but need the processed points to create the fill. This functioni is called after the clip, so the fill does not get clipped.- Parameters:
tg
-shapes
-
-
LinesWithFill
for lines with glyphs the fill must be handled (clipped) as a separate shape. this function needs to be called before the clipping is done to the line- Parameters:
tg
-clipBounds
-
-
ClipPolygon
Works for tactical lines and areas- Parameters:
tg
-clipBounds
-- Returns:
-