Package org.geotools.renderer.lite
Class ParallelLinesFiller
- Object
-
- ParallelLinesFiller
-
public class ParallelLinesFiller extends Object
Support class that fills a given rectangle with a set of parallel lines derived from a sample mark that would generate sets of parallel lines when tiled- Author:
- Andrea Aime
-
-
Constructor Summary
Constructors Constructor Description ParallelLinesFiller(List<ParallelLinesFiller.Line> lines, double xStep, double yStep)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillRectangle(Rectangle2D bounds, StyledShapePainter painter, Graphics2D graphics, LineStyle2D ls2d)
Fills the specified rectangle with parallel linesstatic ParallelLinesFiller
fromStipple(Shape shape)
Builds a line filler from a stipple shape, if at all possible, or returns null otherwise
-
-
-
Constructor Detail
-
ParallelLinesFiller
public ParallelLinesFiller(List<ParallelLinesFiller.Line> lines, double xStep, double yStep)
-
-
Method Detail
-
fromStipple
public static ParallelLinesFiller fromStipple(Shape shape)
Builds a line filler from a stipple shape, if at all possible, or returns null otherwise
-
fillRectangle
public void fillRectangle(Rectangle2D bounds, StyledShapePainter painter, Graphics2D graphics, LineStyle2D ls2d)
Fills the specified rectangle with parallel lines
-
-