Class ColorSpace
- Namespace
- FellowOakDicom.Imaging
- Assembly
- fo-dicom.core.dll
public class ColorSpace
- Inheritance
-
ColorSpace
- Inherited Members
- Extension Methods
Constructors
ColorSpace(string, params Component[])
public ColorSpace(string name, params ColorSpace.Component[] components)
Parameters
Fields
BGR
public static readonly ColorSpace BGR
Field Value
Grayscale
public static readonly ColorSpace Grayscale
Field Value
Indexed
public static readonly ColorSpace Indexed
Field Value
OneBit
public static readonly ColorSpace OneBit
Field Value
RGB
public static readonly ColorSpace RGB
Field Value
RGBA
public static readonly ColorSpace RGBA
Field Value
YCbCrJPEG
public static readonly ColorSpace YCbCrJPEG
Field Value
Properties
Components
public ColorSpace.Component[] Components { get; }
Property Value
Name
public string Name { get; }
Property Value
Methods
Equals(ColorSpace)
protected bool Equals(ColorSpace other)
Parameters
otherColorSpace
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
operator ==(ColorSpace, ColorSpace)
public static bool operator ==(ColorSpace a, ColorSpace b)
Parameters
aColorSpacebColorSpace
Returns
operator !=(ColorSpace, ColorSpace)
public static bool operator !=(ColorSpace a, ColorSpace b)
Parameters
aColorSpacebColorSpace