[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Duotone

Class Duotone

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a duotone effect.

For each pixel, combines Color1 and Color2 through a linear interpolation to determine the new color for that pixel.

public class Duotone : ImageEffect
Inheritance
object
Duotone
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Properties

Color1

Gets the first color to combine with Color2 through a linear interpolation to determine the new color for pixels.

public SolidColor Color1 { get; }

Property Value

SolidColor

Color2

Gets the second color to combine with Color1 through a linear interpolation to determine the new color for pixels.

public SolidColor Color2 { get; }

Property Value

SolidColor

Methods

Equals(Duotone)

protected bool Equals(Duotone other)

Parameters

other Duotone

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int