Uses the hue of the source and the saturation and luminosity of the destination.
SDK
- macOS 10.10+
Framework
- App
Kit
Declaration
NSCompositingOperationHue
Uses the hue of the source and the saturation and luminosity of the destination.
SDK
Framework
NSCompositingOperationHue
NSCompositing Operation Clear
Transparency everywhere.
NSCompositing Operation Copy
The source image.
NSCompositing Operation Source Over
The source image wherever it is opaque, and the destination image elsewhere.
NSCompositing Operation Source In
The source image wherever both images are opaque, and transparent elsewhere.
NSCompositing Operation Source Out
The source image wherever it is opaque and the destination image is transparent, and transparent elsewhere.
NSCompositing Operation Source Atop
The source image wherever both images are opaque, the destination image wherever it is opaque but the source image is transparent, and transparent elsewhere
NSCompositing Operation Destination Over
The destination image wherever it is opaque, and the source image elsewhere.
NSCompositing Operation Destination In
The destination image wherever both images are opaque, and transparent elsewhere.
NSCompositing Operation Destination Out
The destination image wherever it is opaque and the source image is transparent, and transparent elsewhere.
NSCompositing Operation Destination Atop
The destination image wherever both images are opaque, the source image wherever it is opaque and the destination image is transparent, and transparent elsehwere.
NSCompositing Operation XOR
Exclusive OR of the source and destination images.
NSCompositing Operation Plus Darker
The sum of the source and destination images, with color values approach 0 as a limit.
NSCompositing Operation Plus Lighter
The sum of the source and destination images, with color values approach 1 as a limit.
NSCompositing Operation Multiply
The source color is multiplied by the destination color.
NSCompositing Operation Screen
Multiplies the complement of the destination and source color values, and then complements the result.
NSCompositing Operation Overlay
Source colors overlay the destination.
NSCompositing Operation Darken
Use the darker of the source and destination colors.
NSCompositing Operation Lighten
Use the lighter of the source and destination colors.
NSCompositing Operation Color Dodge
Brightens the destination to reflect the source.
NSCompositing Operation Color Burn
Darkens the destination color to reflect the source.
NSCompositing Operation Soft Light
Darkens or lightens colors, with the effect of shining a diffused spotlight on the destination.
NSCompositing Operation Hard Light
Multiplies or screens colors, with the effect of shining a spotlight on the destination.
NSCompositing Operation Difference
Subtracts the darker value from the lighter value.
NSCompositing Operation Exclusion
Subtracts the darker value from the lighter value, except lower in contrast.
NSCompositing Operation Saturation
Uses the saturation value of the source and the hue and luminosity of the destination.
NSCompositing Operation Color
Uses the hue and saturation of the source and the luminosity of the destination.
NSCompositing Operation Luminosity
Uses the luminosity of the source and the hue and saturation of the destination.