Obsolete Members for LomiriShape

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

Properties

Property Documentation

borderSource : string

This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This property defines the look of the shape borders. The supported strings are "radius_idle.sci" providing an idle button aspect and "radius_pressed.sci" providing a pressed button aspect. Any other strings (like the empty one "") provides a shape with no borders. The default value is "radius_idle.sci".

Note: Use aspect instead.


color : color

This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This property defines the color used to fill the LomiriShape 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 is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This property defines the bottom color used for the vertical gradient filling the LomiriShape 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 LomiriShape.

Note: Use backgroundColor, secondaryBackgroundColor and backgroundMode instead.


image : Image

This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This property holds the Image or ShaderEffectSource rendered in the LomiriShape. 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.