Align a renderable to the right.
(
cls,
renderable: "RenderableType",
style: Optional[StyleType] = None,
*,
vertical: Optional[VerticalAlignMethod] = None,
pad: bool = True,
width: Optional[int] = None,
height: Optional[int] = None,
)
| 120 | |
| 121 | @classmethod |
| 122 | def right( |
| 123 | cls, |
| 124 | renderable: "RenderableType", |
| 125 | style: Optional[StyleType] = None, |
| 126 | *, |
| 127 | vertical: Optional[VerticalAlignMethod] = None, |
| 128 | pad: bool = True, |
| 129 | width: Optional[int] = None, |
| 130 | height: Optional[int] = None, |
| 131 | ) -> "Align": |
| 132 | """Align a renderable to the right.""" |
| 133 | return cls( |
| 134 | renderable, |
| 135 | "right", |
| 136 | style=style, |
| 137 | vertical=vertical, |
| 138 | pad=pad, |
| 139 | width=width, |
| 140 | height=height, |
| 141 | ) |
| 142 | |
| 143 | def __rich_console__( |
| 144 | self, console: "Console", options: "ConsoleOptions" |
no outgoing calls