bosing.AbsoluteEntry¶
- class bosing.AbsoluteEntry(time, element)¶
基类:
objectA child element with an absolute time in a absolute layout.
The time of each child element is relative to the start of the absolute layout.
- 参数:
- static convert(obj)¶
Convert the value to AbsoluteEntry.
the value can be:
AbsoluteEntry
Element
tuple[float, Element]: Time and element.
- 参数:
obj (AbsoluteEntry | Element | tuple[float, Element]) -- Value to convert.
- 返回:
Converted value.
- 返回类型:
- 抛出:
ValueError -- If the value cannot be converted.
- element¶
- time¶