Skip to main content

GaugeCircleTicks

Draws each tick as a filled circle, with an optional outline.

Inherits: GaugeTicks

Properties

  • color - The fill color of the ticks.
  • radius - The radius of each tick, in logical pixels.
  • stroke_color - The color of the outline drawn around each tick.
  • stroke_width - The width of the outline drawn around each tick.

Properties​

colorclass-attributeinstance-attribute​

color: ColorValue | None = None

The fill color of the ticks.

Defaults to ColorScheme.on_surface.

radiusclass-attributeinstance-attribute​

radius: Number = 3.0

The radius of each tick, in logical pixels.

Raises:

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

stroke_colorclass-attributeinstance-attribute​

stroke_color: ColorValue | None = None

The color of the outline drawn around each tick.

Defaults to ColorScheme.on_surface.

stroke_widthclass-attributeinstance-attribute​

stroke_width: Number = 0

The width of the outline drawn around each tick.

If 0, no outline is drawn.