ColorizedImage QML Type

Displays an colorized image. 更多...

导入语句: import QtQuickUltralite.Extras 1.7
Since: Qt Quick Ultralite 1.0
继承:

图像

特性

详细描述

Draws a monochromatic source image with a color tint.

The source image must have the Alpha8 format.

Examples usage:

ColorizedImage {
    source: "qrc:/images/close.png"
    color: "#3d464d"
}
						

注意: This type is specific to Qt Quick Ultralite. See also the compatibility 页面。

另请参阅 图像 , BorderImage , Dealing with image resources ,和 Image optimizations .

特性文档编制

color : color

The RGB components of this color will be used when drawing the image.