New to Telerik Document ProcessingStart a free 30-day trial

Represents the base class for all color types.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.ColorSpaces

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public abstract class ColorBase : IEquatable<ColorBase>

Inheritance: objectColorBase

Derived Classes: CmykColorLabColorPatternColorSimpleColor

Implements: IEquatable<ColorBase>

Constructors

Initializes the base color state for derived color types used in fixed document processing.

C#
protected ColorBase()

Methods

Determines whether the specified ColorBase is equal to the current color.

C#
public abstract bool Equals(ColorBase other)
Parameters:otherColorBase

The color to compare with the current color.

Returns:

bool

True if the specified color is equal to the current color; otherwise, false.

Implements: IEquatable<ColorBase>.Equals(ColorBase)

Determines whether the specified object is equal to the current color.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current color.

Returns:

bool

True if the specified object is equal to the current color; otherwise, false.

Overrides: object.Equals(object)

Returns the hash code for the current color instance.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current color.

Overrides: object.GetHashCode()