pyrocko.gui.sparrow.elements.hud

Classes

HudPositionChoice(...)

Any str out of ['bottom', 'bottom-left', 'bottom-right', 'top', 'top-left', 'top-right'].

HudState(**kwargs)

Undocumented.

class HudPositionChoice(...) str[source]

Bases: StringChoice

Any str out of ['bottom', 'bottom-left', 'bottom-right', 'top', 'top-left', 'top-right'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class HudState(**kwargs)[source]

Bases: ElementState

Undocumented.

visible

bool, default: True

template

str

position

str (HudPositionChoice), default: 'bottom'

lightness

float, default: 1.0

fontsize

float, default: 0.05