Table of Contents

Class Saturation

Namespace
SharpDX.Direct2D1.Effects
Assembly
SharpDX.Direct2D1.dll

Built in Saturation effect.

public class Saturation : Effect
Inheritance
Saturation
Inherited Members

Constructors

Saturation(DeviceContext)

Initializes a new instance of Saturation effect.

public Saturation(DeviceContext context)

Parameters

context DeviceContext

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