[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Luminance

Class Luminance

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

Represents a luminance effect.

Brightness linearly shifts all colors closer to white or black.

Contrast scales all colors to be either closer or further apart.

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

Properties

Brightness

Gets or sets the value to change the brightness.

Allowed values are from -1 (darkest) to 1 (lightest), inclusive.

The default is 0.

public float Brightness { get; set; }

Property Value

float

Contrast

Gets or sets the value to change the contrast.

Allowed values are from -1 to 1, inclusive.

The default is 0.

public float Contrast { get; set; }

Property Value

float

Methods

Equals(Luminance)

protected bool Equals(Luminance other)

Parameters

other Luminance

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int