init(brightness:contrast:hue:saturation:)
Creates an image color transformer.
Declaration
init(brightness: Float? = nil, contrast: Float? = nil, hue: Float? = nil, saturation: Float? = nil)Parameters
- brightness:
The brightness adjustment, between 0.0 and 1.0.
- contrast:
The contrast adjustment, between 0.0 and 1.0.
- hue:
The hue adjustment, between 0.0 and 1.0.
- saturation:
The saturation adjustment, between 0.0 and 1.0.