![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| __init__ (self, "RenderableType" renderable, "PaddingDimensions" pad=(0, 0, 0, 0), *Union[str, Style] style="none", bool expand=True) | |
| "Padding" | indent (cls, "RenderableType" renderable, int level) |
| str | __repr__ (self) |
| "RenderResult" | __rich_console__ (self, "Console" console, "ConsoleOptions" options) |
| "Measurement" | __rich_measure__ (self, "Console" console, "ConsoleOptions" options) |
Static Public Member Functions | |
| Tuple[int, int, int, int] | unpack ("PaddingDimensions" pad) |
Public Attributes | |
| renderable | |
| top | |
| right | |
| bottom | |
| left | |
| style | |
| expand | |
Additional Inherited Members | |
Protected Member Functions inherited from pip._vendor.rich.jupyter.JupyterMixin | |
| Dict[str, str] | _repr_mimebundle_ ("ConsoleRenderable" self, Sequence[str] include, Sequence[str] exclude, **Any kwargs) |
Draw space around content.
Example:
>>> print(Padding("Hello", (2, 4), style="on blue"))
Args:
renderable (RenderableType): String or other renderable.
pad (Union[int, Tuple[int]]): Padding for top, right, bottom, and left borders.
May be specified with 1, 2, or 4 integers (CSS style).
style (Union[str, Style], optional): Style for padding characters. Defaults to "none".
expand (bool, optional): Expand padding to fit available width. Defaults to True.
| "Padding" pip._vendor.rich.padding.Padding.indent | ( | cls, | |
| "RenderableType" | renderable, | ||
| int | level | ||
| ) |
Make padding instance to render an indent.
Args:
renderable (RenderableType): String or other renderable.
level (int): Number of characters to indent.
Returns:
Padding: A Padding instance.
|
static |
Unpack padding specified in CSS style.