TickProperties

References
public struct TickProperties
Properties for a tick mark on a numberline.

Constructors

TickProperties

#
public TickProperties(float length, float thickness, Color colour)
Create new tick mark properties.
length (float)
thickness (float)
colour (Color)

Properties

Colour

#
public Color Colour { get; }
Colour of tickmark.

DefaultLong

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

DefaultShort

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

Length

#
public float Length { get; }
Length of tickmark.

Thickness

#
public float Thickness { get; }
Thickness of tickmark.

Methods

WithColour

#
public TickProperties WithColour(Color colour)
colour (Color)