Obsolete Members for UbuntuShape

The following members of QML type UbuntuShape are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Property Documentation

color : color

This property defines the color used to fill the UbuntuShape when there is no image set. If gradientColor is set, this property defines the top color of the gradient. The default value is transparent black.

Note: Use backgroundColor, secondaryBackgroundColor and backgroundMode instead.


gradientColor : color

This property defines the bottom color used for the vertical gradient filling the UbuntuShape when there is no image set. As long as this property is not set, a single color (defined by color) is used to fill the UbuntuShape.

Note: Use backgroundColor, secondaryBackgroundColor and backgroundMode instead.


image : Image

This property holds the Image or ShaderEffectSource rendered in the UbuntuShape. In case of an Image, it watches for fillMode (Image.Stretch andImage.PreserveAspectCrop), horizontalAlignment and verticalAlignment property changes. The default value is null.

Note: Use source instead.