RSAGL.Color.LinearAdjust
- type LinearAdjustment = LinearMetric -> RSdouble
- adjustColor :: (ExportColorCoordinates c, ImportColorCoordinates c') => ColorChannel -> LinearAdjustment -> c -> c'
- maximize :: LinearAdjustment
- minimize :: LinearAdjustment
- clamp :: LinearAdjustment
Documentation
type LinearAdjustment = LinearMetric -> RSdoubleSource
adjustColor :: (ExportColorCoordinates c, ImportColorCoordinates c') => ColorChannel -> LinearAdjustment -> c -> c'Source
Manipulate an arbitrary component of a color.
maximize :: LinearAdjustmentSource
Increase a channel to a maximum in-gamut value.
minimize :: LinearAdjustmentSource
Decrease a channel to it's minimum in-gamut value.
clamp :: LinearAdjustmentSource
Clamp a channel to the gamut.