MarkStyle

References
public class MarkStyle
Display properties for grid markers.

Constructors

MarkStyle

#
public MarkStyle(MarkerPosition position, NumberFormat format, Color colour, float spacing, bool interrupt)
Create new grid labels.
position (MarkerPosition)
format (NumberFormat)
colour (Color)
spacing (float)
interrupt (bool)

Properties

Colour

#
public Color Colour { get; }
Gets the colour for markers.

Default

#
public static MarkStyle Default { get; }
Gets the default label properties.

Format

#
public NumberFormat Format { get; }
Gets the format for axis labels.

Interrupt

#
public bool Interrupt { get; }
Gets whether labels interrupt the other grid elements.

Position

#
public MarkerPosition Position { get; }
Gets the position in which labels are drawn.

Spacing

#
public float Spacing { get; }
Gets the visual separation between markers.

Methods

Modify

#
public MarkStyle Modify(MarkerPosition? position = null, NumberFormat format = null, Color? colour = null, float? spacing = null, bool? interrupt = null)
Modify the grid marker properties.
position (MarkerPosition? = null)
format (NumberFormat = null)
colour (Color? = null)
spacing (float? = null)
interrupt (bool? = null)
Modified marker style.