Color.ColorSpace Property

Gets a color space of the color.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


public virtual ColorSpace ColorSpace { get; }

Property Value

The ColorSpace of the color.


Each class derived from the Color represents its own color space. It means that if, for example, this property returns Rgb, you can cast this Color variable to RgbColor class. However casting to derived classes is considered as bad style from object-oriented point of view, so it is recommended to use it only if it is necessary indeed.

See Also