Align a renderable to the left.
(
cls,
renderable: "RenderableType",
style: Optional[StyleType] = None,
*,
vertical: Optional[VerticalAlignMethod] = None,
pad: bool = True,
width: Optional[int] = None,
height: Optional[int] = None,
)
| 76 | |
| 77 | @classmethod |
| 78 | def left( |
| 79 | cls, |
| 80 | renderable: "RenderableType", |
| 81 | style: Optional[StyleType] = None, |
| 82 | *, |
| 83 | vertical: Optional[VerticalAlignMethod] = None, |
| 84 | pad: bool = True, |
| 85 | width: Optional[int] = None, |
| 86 | height: Optional[int] = None, |
| 87 | ) -> "Align": |
| 88 | """Align a renderable to the left.""" |
| 89 | return cls( |
| 90 | renderable, |
| 91 | "left", |
| 92 | style=style, |
| 93 | vertical=vertical, |
| 94 | pad=pad, |
| 95 | width=width, |
| 96 | height=height, |
| 97 | ) |
| 98 | |
| 99 | @classmethod |
| 100 | def center( |
no outgoing calls