cz.cuni.jagrlib.iface
Interface PolygonWindow

All Superinterfaces:
PolygonRender, Property, Render
All Known Implementing Classes:
PolygonClip

public interface PolygonWindow
extends PolygonRender

Interface for clipping using polygon windows.

Since:
0.05
See Also:
PolygonWindow.java

Field Summary
 
Fields inherited from interface cz.cuni.jagrlib.iface.PolygonRender
POLY_INSIDE, POLY_INSIDE_PARITY, POLY_INSIDE_WINDING
 
Fields inherited from interface cz.cuni.jagrlib.iface.Render
LINE_CAP, LINE_CAP_BUTT, LINE_CAP_ROUND, LINE_CAP_SQUARE, LINE_JOIN, LINE_JOIN_BEVEL, LINE_JOIN_DISJOINT, LINE_JOIN_MITER, LINE_JOIN_OVERLAP, LINE_JOIN_ROUND, LINE_WIDTH, PROJECTION, RENDER_STYLE, RENDER_STYLE_FLAT, RENDER_STYLE_GOURAUD, RENDER_STYLE_LINE, RENDER_STYLE_PHONG, RENDER_STYLE_TEXTURE
 
Fields inherited from interface cz.cuni.jagrlib.iface.Property
LOGGING, STATISTICS, TEXT_DESCRIPTION
 
Method Summary
 void polygonWindow(java.awt.Point[] v)
          Sets the given polygon as clipping window.
 void polygonWindow(java.awt.geom.Point2D.Double[] v)
          Sets the given polygon as clipping window.
 
Methods inherited from interface cz.cuni.jagrlib.iface.Property
commit, get, set
 

Method Detail

polygonWindow

void polygonWindow(java.awt.Point[] v)
Sets the given polygon as clipping window.

Parameters:
v - Array of polygon vertices (needs not to be closed, null can interrupt the sequence).

polygonWindow

void polygonWindow(java.awt.geom.Point2D.Double[] v)
Sets the given polygon as clipping window.

Parameters:
v - Array of polygon vertices (needs not to be closed, null can interrupt the sequence).