Back to Makepad

Image

examples/uizoo/resources/image.md

1.0.0658 B
Original Source

Image

Displays pixel images.

Attributes

  • animation (ImageAnimation)
  • fit (ImageFit)
    • Size: Original size
    • Stretch: Stretch to fit the parent container
    • Horizontal: Fill the parent container horizontally while keeping the image's aspect ratio ratio
    • Vertical: Fill the parent container vertically while keeping the image's aspect ratio ratio
    • Smallest: Fill the parent container's shorter side and keep the image's aspect ratio.
    • Biggest: Fill the parent container's longer side and keep the image's aspect ratio.
  • min_width (float)
  • min_height (float)
  • source (LiveDependency)
  • width_scale (float)
  • visible (bool)