This is a base class for color values used in Graphics Mill for .NET.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public MustInherit Class Color _ Implements ICloneable
public abstract class Color : ICloneable
This is a base class for all colors in Graphics Mill for .NET. It can be used as a class factory - you can create RgbColor with FromRgb(Byte, Byte, Byte), FromArgb(Byte, Byte, Byte, Byte) methods, and its siblings; CmykColor with FromCmyk(Byte, Byte, Byte, Byte), FromAcmyk(Byte, Byte, Byte, Byte, Byte), etc; GrayScaleColor with FromGrayScale(Byte), FromAGrayScale(Byte, Byte), etc. Also there are extended analogues, which have a suffix 32.
Also you can get components (channels) by index using GetChannel(Int32) method. A number of components can be returned by ChannelCount property.
Dim rgb As Aurigma.GraphicsMill.RgbColor = _ Aurigma.GraphicsMill.Color.FromArgb(120, 255, 0, 0)
Aurigma.GraphicsMill.RgbColor rgb = Aurigma.GraphicsMill.Color.FromArgb(120, 255, 0, 0);