LabelProperties

References
public struct LabelProperties
Properties for a tick labels on a numberline.

Constructors

LabelProperties

#
Create a properties.
public LabelProperties(
size,
Color
colour
)

Properties

Colour

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

DefaultLong

#
Gets the default properties for short number line labels.
public static LabelProperties DefaultLong { get; }

DefaultShort

#
Gets the default properties for short number line labels.
public static LabelProperties DefaultShort { get; }

Size

#
Gets the font size for the label in points. Derive sizes from StandardFonts.Size(FontSize) rather than hard-coding them, so they render the same on every platform.
public float Size { get; }

Methods

WithColour

#
public LabelProperties WithColour(
Color
colour
)

WithSize

#
public LabelProperties WithSize(
size
)