cz.cuni.jagrlib.iface
Interface PolygonHashRender
- All Superinterfaces:
- PolygonRender, Property, Render
public interface PolygonHashRender
- extends PolygonRender
Rendering interface for hashed 2D polygons.
- Since:
- 0.01
- Version:
- 0.25 $Rev: 281 $ $Date: 2006-06-01 20:55:34 +0200 (čt, 01 VI 2006) $ $Author: pepca $
- See Also:
- PolygonHashRender.java
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 |
hashPolygon
void hashPolygon(Point[] v,
double angle,
int period)
- Hashes the given polygon.
Uses pre-defined fill style.
- Parameters:
v
- Array of polygon vertices (needs not to be closed, null can interrupt the sequence).angle
- Hashing angle in degrees (anti-clockwise).period
- Hashing period (1 .. solid fill).- See Also:
PolygonRender.POLY_INSIDE
hashPolygon
void hashPolygon(Point2D.Double[] v,
double angle,
double period)
- Hashes the given polygon.
Uses pre-defined fill style.
- Parameters:
v
- Array of polygon vertices (needs not to be closed, null can interrupt the sequence).angle
- Hashing angle in degrees (anti-clockwise).period
- Hashing period (1 .. solid fill).- See Also:
PolygonRender.POLY_INSIDE