Skip to main content

GaugeLineTicks

Draws each tick as a straight line pointing away from the gauge's rings.

Inherits: GaugeTicks

Properties

  • color - The color of the ticks.
  • length - The length of each tick, in logical pixels.
  • thickness - The thickness of each tick, in logical pixels.

Properties​

colorclass-attributeinstance-attribute​

color: ColorValue | None = None

The color of the ticks.

Defaults to ColorScheme.on_surface.

lengthclass-attributeinstance-attribute​

length: Number = 6.0

The length of each tick, in logical pixels.

Raises:

  • ValueError - If it is not strictly greater than 0.

thicknessclass-attributeinstance-attribute​

thickness: Number = 2.0

The thickness of each tick, in logical pixels.

Raises:

  • ValueError - If it is not strictly greater than 0.