Grid draw object

From Maria GDK Wiki
Jump to navigation Jump to search
Grid draw object.png

The grid draw object has two display modes: * UTM where the grid lines are displayed according to the UTM zones. * Standard where the grid lines are displayed according to selected map projection.

This page lists all the fields that control the grid draw object's appearance and behavior.

Field Value Description
AreCoordinatesVisible true, false Show or hide UTM coordinates.
GridBorderColor R,G,B,A Color of the border around the grid.
GridCellLabelFontSize Double value greater than 0 Cell label font size.
GridCellLabelFontColor R,G,B,A Cell label font color.
GridCellBackgroundPattern Pipe separated list of cell:pattern tuples where patterns are defined in the GDK enum FillStyle 3F:solid.
GridCellBackgroundColor Pipe separated list of cell:R,G,B,A tuples 3F:255,0,255,180.
GridCellCustomLabel Pipe separated list of cell:text tuples 4D:Test.
GridHorizontalRulerFontSize Double value greater than 0 Font size of labels on horizontal axis.
GridHorizontalRulerFontColor R,G,B,A Font color of labels on horizontal axis.
GridLabelAxis Comma separated list of Top, Left, Right, Bottom List of which axes to show labels.
GridReferenceFontSize Double value greater than 0 Font size of UTM references.
GridReferenceFontColor R,G,B,A Font color of UTM references.
GridSize Integer Grid size in meters.
GridType UTM, Standard Grid display mode.
GridVerticalRulerFontSize Double value greater than 0 Font size of labels on vertical axis.
GridVerticalRulerFontColor R,G,B,A Font color of labels on vertical axis.
HorizontalLabelSkipList Comma separated list of labels to skip List of labels to skip on the horizontal axis.
HorizontalStartLabel Axis label Label to start with on the horizontal axis.
IsCellLabelsVisible true, false Show or hide cell labels.
NumberPadReference Comma separated list of cell references List of cell references where number pads should be displayed.
ReverseCellLabel true, false Reverse the axis order of the cell labels. Example 2A <-> A2.
ShowGridBorder true, false Show or hide border around the grid.
ShowGridLabelsOnViewportEdge true, false Show or hide axis labels on the viewport edge when the grid axis labels are outside the viewport.
VerticalLabelSkipList Comma separated list of labels to skip List of labels to skip on the vertical axis.
VerticalStartLabel Axis label Label to start with on the vertical axis.