Classes
Global | Description |
---|---|
ToneFilter ⇐ PIXI.filters.ColorMatrixFilter |
Functions
Global | Description |
---|---|
adjustHue(value) | 改变色相。 Changes the hue. |
adjustSaturation(value) | 改变饱和度。 Changes the saturation. |
adjustTone(r, g, b) | 改变色调。 Changes the tone. |
ToneFilter ⇐ PIXI.filters.ColorMatrixFilter
Kind: global class
Extends: PIXI.filters.ColorMatrixFilter
new ToneFilter()
用于 WebGL 的颜色矩阵滤镜。
The color matrix filter for WebGL.
adjustHue(value)
改变色相。
Changes the hue.
Kind: global function
Param | Type | Description |
---|---|---|
value | Number | 色相值,范围(-360, 360) The hue value in the range (-360, 360) |
adjustSaturation(value)
改变饱和度。
Changes the saturation.
Kind: global function
Param | Type | Description |
---|---|---|
value | Number | 饱和度值,范围(-255, 255) The saturation value in the range (-255, 255) |
adjustTone(r, g, b)
改变色调。
Changes the tone.
Kind: global function
Param | Type | Description |
---|---|---|
r | Number | 红色强度,范围(-255, 255) The red strength in the range (-255, 255) |
g | Number | 绿色强度,范围(-255, 255) The green strength in the range (-255, 255) |
b | Number | 蓝色强度,范围(-255, 255) The blue strength in the range (-255, 255) |
贡献者
暂无相关贡献者
页面历史
暂无最近变更历史