desaturate
importstatement: import qtgraphicaleffects 1.0
since: qtgraphicaleffects 1.0
inherits: item
properties
cached :bool
desaturation: real
source :variant
detaileddescription
desaturated元件的畫素值計算做源例項的原始rgb元件的平均值。源影響
importqtquick 2.0相應**:
importqtgraphicaleffects 1.0
item
desaturate
}propertydocumentation
cached :bool
desaturation: real
多少源色彩被沖淡。值在0.0(不變)到1.0(沖淡)之間,預設為0
沖淡的影響
desaturation: 0.0
desaturation: 0.5
desaturation: 1.0
source :variant
用來影響的源,它是個提供源畫素的例項。注意不能將自身作為源,例如宣布本元件在乙個image中,然後去影響宣布的image。
QML型別說明 AnimatedSprite
animatedsprite importstatement import qtquick2.2 inherits item properties currentframe int framecount int frameduration int frameheight int framerate ...
QML型別說明 AudioSample
audiosample importstatement import qtaudioengine1.0 since qt 5.0 inherits item properties loaded bool name string preloaded bool signals loadedchanged...
QML型別說明 BluetoothService
bluetoothservice importstatement import qtbluetooth 5.2 since qt 5.2 properties deviceaddress string devicename string registered string servicedescri...