Package RenderMultipoints
Class clsClipPolygon2
java.lang.Object
RenderMultipoints.clsClipPolygon2
A class to clip tactical lines and areas
- Author:
- Michael Deutch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddAbatisFill(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 areasClipPolygon2(ArrayList<Point2D> polygon, Rectangle2D clipBounds, Boolean isClosed) Deprecated.add function for clsPatternFill to call without a tgfillDMA(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-shapes-
-
ClipPolygon
Works for tactical lines and areas- Parameters:
tg-clipBounds-- Returns:
-
ClipPolygon2
public static ArrayList<Point2D> ClipPolygon2(ArrayList<Point2D> polygon, Rectangle2D clipBounds, Boolean isClosed) Deprecated.add function for clsPatternFill to call without a tg
-