class Draw extends java.lang.Object
Easily draw a Geometry, a Feature, and a Layer to an image or interactive App.
import static geoscript.render.Draw.* import geoscript.style.* import geoscript.geom.* draw(new Point(0,0).buffer(10), style: new Stroke("black",2) + new Fill("gray", 0.75), size: [250,250] )
Constructor and description |
---|
Draw
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
draw(java.util.Map options, Geometry geometry) Draw a Geometry |
|
static void |
draw(java.util.Map options, java.util.List<Geometry> geometries) Draw a List of Geometries |
|
static void |
draw(java.util.Map options, Feature feature) Draw a Feature |
|
static void |
draw(java.util.Map options, Layer layer) Draw a Layer |
|
static void |
draw(java.util.Map options, Raster raster) Draw a Raster |
|
static java.awt.image.BufferedImage |
drawToImage(java.util.Map options, Geometry geometry) Draw a Geometry to an image |
|
static java.awt.image.BufferedImage |
drawToImage(java.util.Map options, java.util.List geometries) Draw a List of Geometries to an image |
|
static java.awt.image.BufferedImage |
drawToImage(java.util.Map options, Feature feature) Draw a Feature to an image |
|
static java.awt.image.BufferedImage |
drawToImage(java.util.Map options, Layer layer) Draw a Layer to an image |
|
static java.awt.image.BufferedImage |
drawToImage(java.util.Map options, Raster raster) Draw a Raster to an image |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Draw a Geometry
options
- A java.util.Map of options or named parameters (style, bounds, size, out, format, proj)
geometry
- The GeometryDraw a List of Geometries
options
- A java.util.Map of options or named parameters (style, bounds, size, out, format, proj)
geometries
- The List of GeometriesDraw a Feature
options
- A java.util.Map of options or named parameters (style, bounds, size, out, format, proj)
feature
- The FeatureDraw a Layer
options
- A java.util.Map of options or named parameters (style, bounds, size, out, format, proj)
layer
- The LayerDraw a Raster
options
- A java.util.Map of options or named parameters (style, bounds, size, out, format, proj)
raster
- The RasterDraw a Geometry to an image
options
- A java.util.Map of options or named parameters (style, bounds, size, format, proj)
geometry
- The GeometryDraw a List of Geometries to an image
options
- A java.util.Map of options or named parameters (style, bounds, size, imageType, proj)
geometries
- A List of GeometriesDraw a Feature to an image
options
- A java.util.Map of options or named parameters (style, bounds, size, imageType, proj)
feature
- The FeatureDraw a Layer to an image
options
- A java.util.Map of options or named parameters (style, bounds, size, imageType, proj)
layer
- The LayerDraw a Raster to an image
options
- A java.util.Map of options or named parameters (style, bounds, size, imageType, proj)
raster
- The Raster