LuciadCPillar C# 2023.1.04
|
Builder for a MGRS grid. More...
Public Member Functions | |
Builder (Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder other) | |
Luciad.Layers.Grids.Mgrs.MgrsGrid | Build () |
Returns the MGRS grid. More... | |
void | Dispose () |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | LabelEdgeOffset (double labelEdgeOffset) |
This specifies the offset of the label, away from the edges of the view, in device independent pixels. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | LabelGridOffset (double labelGridOffset) |
This specifies the offset of the label, in device independent pixels, away from the grid line to which it is attached. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | LabelOrientation (Luciad.Layers.Grids.Labels.GridLabelOrientation labelOrientation) |
This specifies the label orientation with respect to the line. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | LabelPosition (Luciad.Layers.Grids.Labels.GridLabelPosition labelPosition) |
This specifies the label position with respect to the view. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | LineLabelPosition (Luciad.Layers.Grids.Labels.GridLineLabelPosition lineLabelPosition) |
This specifies the label position (with respect to the line) to use for the line labels of the current MGRS type/level/interval combination. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | PrimaryLabelStyle (Luciad.Text.TextStyle labelStyle) |
Indicates the primary label style to use for the MGRS grid. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | PrimaryLineStyle (Luciad.Layers.Styles.LineStyle lineStyle) |
Indicates the primary line style to use for the MGRS grid. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | ScaleMultiplier (double scaleMultiplier) |
Indicates the scale multiplier to use for the MGRS grid scale ranges. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | SecondaryLabelStyle (Luciad.Text.TextStyle labelStyle) |
Indicates the secondary label style to use for the MGRS grid. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | SecondaryLineStyle (Luciad.Layers.Styles.LineStyle lineStyle) |
Indicates the secondary line style to use for the MGRS grid. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | TertiaryLabelStyle (Luciad.Text.TextStyle labelStyle) |
Indicates the tertiary label style to use for the MGRS grid. More... | |
Luciad.Layers.Grids.Mgrs.MgrsGrid.Builder | TertiaryLineStyle (Luciad.Layers.Styles.LineStyle lineStyle) |
Indicates the tertiary line style to use for the MGRS grid. More... | |
Builder for a MGRS grid.
Creates a MGRS grid with predefined scale ranges and default (customizable) styling. The default styling is expressed in terms of 3 styles: primary, secondary and tertiary. At a given scale range, the most applicable MGRS grid level is styled with the primary style. Higher MGRS levels are styled with secondary and tertiary styles. For example, when zoomed in really far, 1m MGRS squares are styled with the primary style, 10m squares are styled with the secondary style and 100m squares are styled with the tertiary style. 2023.1
|
inline |
|
inline |
Returns the MGRS grid.
luciad::MgrsGrid for information on the constraints for a MGRS grid.
the MGRS grid.
luciad::LogicException
when the settings are invalid.
|
inline |
|
inline |
This specifies the offset of the label, away from the edges of the view, in device independent pixels.
This is applied to all style settings in the grid. This is optional. Defaults to 6.
labelEdgeOffset
the edge offset value. Must be >= 0.
this builder.
luciad::InvalidArgumentException
when an invalid value is passed.
luciad::MgrsGridSetting::Builder::labelEdgeOffset
|
inline |
This specifies the offset of the label, in device independent pixels, away from the grid line to which it is attached.
This is applied to all style settings in the grid. This is optional. Defaults to 3.
labelGridOffset
the grid offset value. Must be >= 0.
this builder.
luciad::InvalidArgumentException
when an invalid value is passed.
luciad::MgrsGridSetting::Builder::labelGridOffset
|
inline |
This specifies the label orientation with respect to the line.
This is applied to all style settings in the grid. This is optional. Defaults to AlongLine.
labelOrientation
the label orientation.
this builder.
luciad::MgrsGridSetting::Builder::labelOrientation
|
inline |
This specifies the label position with respect to the view.
They can for example be placed at the left or at the right edge of the view. For example, when a label is placed at the east or south side of a line, it is placed at the left or lower edge of the view when using a rectangular projection like Mercator. This is applied to all style settings in the grid. This is optional. Defaults to WestAndSouth.
labelPosition
the label position.
this builder.
luciad::MgrsGridSetting::Builder::labelPosition
|
inline |
This specifies the label position (with respect to the line) to use for the line labels of the current MGRS type/level/interval combination.
They can for example be placed at the left or at the right of the line. This is applied to all style settings in the grid. This is optional. Defaults to AboveOrLeft.
lineLabelPosition
the line label position.
this builder.
luciad::MgrsGridSetting::Builder::lineLabelPosition
|
inline |
Indicates the primary label style to use for the MGRS grid.
labelStyle
the label style.
this builder.
|
inline |
Indicates the primary line style to use for the MGRS grid.
lineStyle
the line style.
this builder.
|
inline |
Indicates the scale multiplier to use for the MGRS grid scale ranges.
The value must be within the range [0.1, 10.0]. A value larger than 1 makes the grid lines appear later when zooming in. This results in a coarser grid. A value below 1 makes the grid lines appear sooner when zooming in. This results in a finer grid.
scaleMultiplier
the scale multiplier.
this builder.
luciad::InvalidArgumentException
when an invalid value is passed.
|
inline |
Indicates the secondary label style to use for the MGRS grid.
labelStyle
the label style.
this builder.
|
inline |
Indicates the secondary line style to use for the MGRS grid.
lineStyle
the line style.
this builder.
|
inline |
Indicates the tertiary label style to use for the MGRS grid.
labelStyle
the label style.
this builder.
|
inline |
Indicates the tertiary line style to use for the MGRS grid.
lineStyle
the line style.
this builder.