Skip to content

rs_rich.padding

Generated from the type stubs by scripts/gen_python_api.py; do not edit.

rich.padding: Padding, space around a renderable.

Padding

rich.padding.Padding: space around a renderable.

renderable instance-attribute

renderable: RenderableType

top instance-attribute

top: int

right instance-attribute

right: int

bottom instance-attribute

bottom: int

left instance-attribute

left: int

style instance-attribute

style: StyleType

expand instance-attribute

expand: bool

indent classmethod

indent(renderable: RenderableType, level: int) -> Padding

unpack staticmethod

unpack(pad: PaddingDimensions) -> Tuple[int, int, int, int]