module timelinelib.canvas.data.era¶
-
timelinelib.canvas.data.era.
DEFAULT_ERA_COLOR
= (200, 200, 200)¶
-
class
timelinelib.canvas.data.era.
Era
[source]¶ Bases:
timelinelib.canvas.data.base.ItemBase
,timelinelib.canvas.data.item.TimelineItem
A clearly defined period of time of arbitrary but well-defined length. An Era is indicated in a timeline, by setting the background color to the Era color for the Era time period. The Era name is also drawn on the timeline within the Era time period.
-
__init__
(db=None, id_=None, immutable_value=ImmutableEra({ 'name': None, 'time_period': None, 'color': (200, 200, 200), 'ends_today': False, }))[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
property
name
¶
-
property
color
¶
-