Properties

References
public class Properties
Properties for number line drawing.

Constructors

Properties

#
public Properties(float spacing, FontFamily font, TickShape tickShape, LabelPlace labelPlace, TickProperties shortTicks, TickProperties longTicks, LabelProperties shortLabels, LabelProperties longLabels)
Create new properties.
spacing (float)
font (FontFamily)
tickShape (TickShape)
labelPlace (LabelPlace)
shortTicks (TickProperties)
longTicks (TickProperties)
shortLabels (LabelProperties)
longLabels (LabelProperties)

Properties

Default

#
public static Properties Default { get; }
Gets default number line properties.
Default properties.

Font

#
public FontFamily Font { get; }
Gets the font fmaily to use for drawing tick labels.

LabelStyle

#
public LabelPlace LabelStyle { get; }
Gets the style of the tick labels.

LongLabels

#
public LabelProperties LongLabels { get; }
Gets the properties of the longest tick labels.

LongTicks

#
public TickProperties LongTicks { get; }
Gets the properties of the longest tick marks.

ShortLabels

#
public LabelProperties ShortLabels { get; }
Gets the properties of the shortest tick labels.

ShortTicks

#
public TickProperties ShortTicks { get; }
Gets the properties of the shortest tick marks.

Spacing

#
public float Spacing { get; }
Gets the minimum allowed spacing between adjacent ticks.

TickStyle

#
public TickShape TickStyle { get; }
Gets the style of the tick marks.

Methods

WithColours

#
public Properties WithColours(Color allColours)
allColours (Color)

WithFontFamily

#
public Properties WithFontFamily(FontFamily family)
family (FontFamily)

WithLabelPlace

#
public Properties WithLabelPlace(LabelPlace style)
style (LabelPlace)

WithLabelProperties

#
public Properties WithLabelProperties(LabelProperties short, LabelProperties long)
short (LabelProperties)
long (LabelProperties)

WithSpacing

#
public Properties WithSpacing(float spacing)
spacing (float)

WithTickProperties

#
public Properties WithTickProperties(TickProperties short, TickProperties long)
short (TickProperties)
long (TickProperties)

WithTickShape

#
public Properties WithTickShape(TickShape style)
style (TickShape)