class SimpleStyleReader extends java.lang.Object implements Reader
A Simple StyleReader that can easily create simple Styles using Maps or Strings. Fill properties: fill and fill-opacity Stroke properties: stroke, stroke-width, stroke-opacity Shape properties: shape, shape-size, shape-type Label properties: label-size, label-style, label-weight, label-family
Constructor and description |
---|
SimpleStyleReader
() |
Type Params | Return Type | Name and description |
---|---|---|
|
Style |
read(java.io.InputStream input) Read a GeoScript Style from an InputStream |
|
Style |
read(java.io.File file) Read a GeoScript Style from a File |
|
Style |
read(java.lang.String str) Read a GeoScript Style from a String |
|
Style |
read(Map options) Reade a GeoScript Style from a Map of options. |
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() |
Read a GeoScript Style from an InputStream
input
- An InputStreamRead a GeoScript Style from a File
file
- A FileRead a GeoScript Style from a String
str
- A String