[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.Saturation

Class Saturation

Namespace
GrapeCity.Documents.DX.Direct2D.Effects
Assembly
GcDocs.DX.Windows.dll

Builtin Saturation effect.

public class Saturation : Effect, IDisposable, IUnknown
Inheritance
object
Saturation
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Saturation(IntPtr)

Initializes a new instance of the Saturation class.

public Saturation(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Value

The saturation of the image. You can set the saturation to a value between 0 and 1. If you set it to 1 the output image is fully saturated. If you set it to 0 the output image is monochrome. The saturation value is unitless.

public float Value { get; set; }

Property Value

float

Methods

Create(DeviceContext)

Initializes a new instance of Saturation effect.

public static Saturation Create(DeviceContext context)

Parameters

context DeviceContext

Returns

Saturation