Class TLspCGRSGridStyle
java.lang.Object
com.luciad.view.lightspeed.painter.grid.cgrs.TLspCGRSGridStyle
Styles grid lines and labels for CGRS grid layers.
This style makes it possible to define different styles for all
(CGRSLevel
and body/label) combinations. For
every combination, it as also possible to define different scale intervals, in which
different styles are used. This can be used to make lines or labels more prominent
when zooming in.
For lines, the following styles are supported:
For labels, the following styles are supported: For overlay components (seeTLspCGRSGridOverlayLabelBuilder
),
the following styles are supported:
On top of that, the text formatting can be controlled.
A simple way to use this class is to create a default style
.
Alternatively, the samples contain a class CGRSGridStyleFactory
that builds a style from the ground up. This
sample code can be adjusted according to your needs.
- Since:
- 2021.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The axis for which style information can be specified.static class
TLspCGRSGridStyle.Builder<B extends TLspCGRSGridStyle.Builder<B>>
Builder for CGRS styles.static enum
The CGRS grid area level. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new builder initialized with all the properties of this style.static TLspCGRSGridStyle.Builder
<?> Creates a new builder with the default values.
-
Method Details
-
newBuilder
Creates a new builder with the default values.- Returns:
- the new builder.
-
asBuilder
Creates a new builder initialized with all the properties of this style.- Returns:
- the new builder.
-