Enum ColorChannels
- Namespace
- Egami.Operations
- Assembly
- Egami.dll
A set of a raster's working RGBA channels, for OnChannels(ColorChannels, Action<RasterOps>).
[Flags]
public enum ColorChannels
Fields
All = Color | AlphaEvery channel.
Alpha = 8Alpha.
Blue = 4Blue.
Color = Red | Green | BlueRed, green and blue.
Green = 2Green.
None = 0No channel.
Red = 1Red.
Examples
// Soften only the alpha; invert only the red.
photo.Apply(ops => ops
.OnChannels(ColorChannels.Alpha, o => o.Blur(2))
.OnChannels(ColorChannels.Red, o => o.Invert()), Ct);