Class
ColorBase

Represents the base class for all color types.

Definition

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

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

cs-api-definition
public abstract class ColorBase : IEquatable<ColorBase>

Inheritance: objectColorBase

Derived Classes: CmykColorLabColorPatternColorSimpleColor

Implements: IEquatable<ColorBase>

Constructors

ColorBase()

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

Declaration

cs-api-definition
protected ColorBase()

Methods

Equals(ColorBase)

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

Declaration

cs-api-definition
public abstract bool Equals(ColorBase other)

Parameters

other

ColorBase

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)

Equals(object)

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

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

GetHashCode()

Returns the hash code for the current color instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current color.

Overrides object.GetHashCode()