RoundedImage

An image item with rounded corners and an optional border. More...

Import Statement: import VPlayApps 1.0
Inherits:

Item

Properties

Detailed Description

Displays an AppImage with rounded corners and an optional border.

The rounded corners are added using an OpacityMask from QtGraphicalEffects module.

Property Documentation

backgroundColor : color

The color of the image's background. The background will also have rounded corners.

By default, a transparent color and thus no background is used.


border : Pen

The border to be drawn at the edges of the RoundedImage.

By default, no border is drawn. To enable a border, set border.width and border.color properties.


fillMode : int

The image fill mode.


img : AppImage

The AppImage item used internally.


radius : real

The rounded corner's radius, in pixels.

Radius can at most be as large as half the width or height of the item itself, whichever is smaller.

By default, 4dp is used.


source : url

The image source.


Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support