GaugeNeedlePointer
A needle that starts at the center of the gauge and narrows to a tip.
Inherits: GaugePointer
Properties
color- The fill color of the needle.length- The distance from the center of the gauge to the tip of the needle, in logical pixels.tail_length- The length of the tail extending behind the center of the gauge, opposite the tip, in logical pixels.width- The width of the needle at the center of the gauge, in logical pixels.
Properties
colorclass-attributeinstance-attribute
color: ColorValue | None = NoneThe fill color of the needle.
Defaults to ColorScheme.on_surface.
lengthclass-attributeinstance-attribute
length: Number = 60.0The distance from the center of the gauge to the tip of the needle, in logical pixels.
Raises:
- ValueError - If it is not strictly greater than
0.