public final class GridParam extends AbstractLayerParams
| Modifier and Type | Field and Description |
|---|---|
int[] |
numberOfLines
The x,y number of grid lines.
|
double[] |
origin
The x,y point of grid origin.
|
int |
pointsInLine
The number of points that will be in the grid line.
|
java.lang.Boolean |
renderAsSvg
Indicates if the layer is rendered as SVG.
|
double[] |
spacing
The x,y spacing between grid lines.
|
java.lang.String |
style
The style name of a style to apply to the features during rendering.
|
name, opacity| Constructor and Description |
|---|
GridParam() |
| Modifier and Type | Method and Description |
|---|---|
void |
postConstruct()
Initialize default values and validate that config is correct.
|
public double[] spacing
spacing or numberOfLines
If spacing is defined then origin must also be definedpublic double[] origin
spacing is defined.public int[] numberOfLines
public java.lang.String style
public java.lang.Boolean renderAsSvg
Configuration.defaultStyle).public int pointsInLine