Logo FluentUI

RoundImageView QML Type

An image view with rounded corners. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Detailed Description

RoundImageView displays an image with rounded corners. It supports various fill modes and accepts a list of radius values for individual corner control.

Property Documentation

fillMode : enumeration

Defines how the image is scaled and positioned within the view. Accepts the same values as Image::fillMode, such as Image.Stretch, Image.PreserveAspectFit, and Image.PreserveAspectCrop.

radius : list<int>

The corner radius values. Accepts a list of integers following the CSS shorthand pattern: one value for all corners, two values (top-bottom, left-right), or four values (top-left, top-right, bottom-right, bottom-left).

source : var

The source URL or path of the image to display.