XATypes Module
Types used throughout PyXA for various purposes.
New in version 0.1.1.
Classes:
|
A named tuple representing a date and an associated duration. |
|
A named tuple representing an (x, y) coordinate. |
|
A named tuple representing a rectangle with an origin point (x, y) and dimensions width x height. |
- class PyXA.XATypes.XADatetimeBlock(date, duration)
Bases:
tuple
A named tuple representing a date and an associated duration.
Attributes:
Alias for field number 0
Alias for field number 1
- date
Alias for field number 0
- duration
Alias for field number 1
- class PyXA.XATypes.XAPoint(x, y)
Bases:
tuple
A named tuple representing an (x, y) coordinate.
Attributes:
Alias for field number 0
Alias for field number 1
- x
Alias for field number 0
- y
Alias for field number 1
- class PyXA.XATypes.XARectangle(x, y, width, height)
Bases:
tuple
A named tuple representing a rectangle with an origin point (x, y) and dimensions width x height.
Attributes:
Alias for field number 3
Alias for field number 2
Alias for field number 0
Alias for field number 1
- height
Alias for field number 3
- width
Alias for field number 2
- x
Alias for field number 0
- y
Alias for field number 1