Interface FilterColorOptions

interface FilterColorOptions {
    bright?: number;
    contrast?: number;
    inVerseColor?: boolean;
    monochromeColor?: ColorRepresentation;
    saturation?: number;
}

Properties

bright?: number

亮度 (1 不变; < 1 亮度变暗; 1 变亮度亮)

contrast?: number

对比度 (1 不变; < 1 对比度减弱 1 对比度增强)

inVerseColor?: boolean

是否反色

monochromeColor?: ColorRepresentation

单色

saturation?: number

饱和度 (1 不变; < 1 饱和度减弱 1 饱和度增强))