edifice.Image¶
-
class
edifice.Image(src='', scale_to_fit=True, **kwargs)[source]¶ Bases:
edifice.base_components.QtWidgetComponentAn image container.
- Parameters
src (
Any) – either the path to the image, or an np array. The np array must be 3 dimensional (height, width, channels)scale_to_fit (
bool) – if True, the image will be scaled to fit inside the container.
Methods
Attributes
childrenThe children of this component.
propsThe props of this component.