Image¶
- class widgets.Image(image: PIL.Image.Image = None, url: str = None, fill: bool = False, background_color: Color = None, corner_radius: float = 0.0, padding: Padding = None, link: str = None)¶
An UI element displaying an image.
image - A Pillow image to be displayed. fill - If set to
True, the image will fill its container. Otherwise, the image will conserve its own aspect ratio.- image¶
A Pillow image to be displayed.
- Return type:
PIL.Image.Image
- fill¶
If set to
True, the image will fill its container. Otherwise, the image will conserve its own aspect ratio.
- Return type:
bool