ColorOperation

ColorOperation class

Represents different color operations used for color transformations. Immutable object.

public class ColorOperation : IColorOperation

Constructors

NameDescription
ColorOperation(ColorTransformOperation)Creates new color transform operation.
ColorOperation(ColorTransformOperation, float)Creates new color transform operation.

Properties

NameDescription
OperationType { get; }Returns or sets the type of an operation. Read-only ColorTransformOperation.
Parameter { get; }Returns a parameter of an operation. Read-only Single.

Methods

NameDescription
override Equals(object)Determines whether the two ColorOperation instances are equal.
override GetHashCode()Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

See Also