diplomat.wx_gui.probability_displayer.DrawingInfo
- class diplomat.wx_gui.probability_displayer.DrawingInfo(x_center, y_center, center_draw_mode, segment_xs, segment_fix_xs, draw_commands)[source]
Bases:
NamedTuple- __init__()
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Alias for field number 2
Alias for field number 5
Alias for field number 4
Alias for field number 3
Alias for field number 0
Alias for field number 1
- count(value, /)
Return number of occurrences of value.
- draw_commands: Iterable[DrawCommand]
Alias for field number 5
- index(value, start=0, stop=9223372036854775807, /)
Return first index of value.
Raises ValueError if the value is not present.
- segment_fix_xs: Iterable[int]
Alias for field number 4
- segment_xs: Iterable[int]
Alias for field number 3
- x_center: float
Alias for field number 0
- y_center: float
Alias for field number 1