Skip to content

rs_rich.art.gif

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

rich_art::gif: animated GIFs.

AnimatedArt

MAX_DECODED_BYTES instance-attribute

MAX_DECODED_BYTES: int

frame_count property

frame_count: int

duration property

duration: float

repeat property

repeat: Union[int, Literal['forever']]

color property

color: bool

blocks property

blocks: bool

color_mode property

color_mode: str

dither property

dither: Optional[str]

color_distance property

color_distance: str

frame_delay

frame_delay(index: int) -> Optional[float]

frame

frame(index: int) -> Optional[AsciiArt]

render_frame

render_frame(index: int) -> Optional[GifFrame]

frames

frames() -> List[Tuple[GifFrame, float]]

play

play(console: Optional[Console] = None) -> None

GifFrame

index property

index: int

show_cursor_sequence

show_cursor_sequence() -> str