This documentation is for the old version. Go to the latest Graphics Mill docs

Color.ColorSpace Property

Returns a color space of the color.

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


Visual Basic
Public MustOverride ReadOnly Property ColorSpace As ColorSpace
public abstract ColorSpace ColorSpace { get; }

Property Value

ColorSpace value indicating color space of the color.


Each class which derived from Color class 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