Module image
Expand description
image() makes it possible to render a Skia image into the canvas.
Structs§
- Image
- Image
Data - How an
image()is scaled and sampled, groupingSamplingMode,AspectRatioandImageCover. - Image
Element - Image
Holder - A decoded image shared by reference, ready to be rendered by an
image().
Enums§
- Aspect
Ratio - How an image is scaled to fit its bounds while preserving its aspect ratio.
- Image
Cover - How an image is positioned within its bounds once it has been scaled.
- Sampling
Mode - The filtering algorithm used when an image is scaled.