[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.Brightness

Class Brightness

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

Builtin Brightness effect.

public class Brightness : Effect, IDisposable, IUnknown
Inheritance
object
Brightness
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

Brightness(IntPtr)

Initializes a new instance of the Brightness class.

public Brightness(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

BlackPoint

The lower portion of the brightness transfer curve. The black point adjusts the appearance of the darker portions of the image. This property is for both the x value and the y value, in that order. Each of the values of this property are between 0 and 1, inclusive.

public Vector2 BlackPoint { get; set; }

Property Value

Vector2

WhitePoint

The upper portion of the brightness transfer curve. The white point adjusts the appearance of the brighter portions of the image. This property is for both the x value and the y value, in that order. Each of the values of this property are between 0 and 1, inclusive.

public Vector2 WhitePoint { get; set; }

Property Value

Vector2

Methods

Create(DeviceContext)

Initializes a new instance of Brightness effect.

public static Brightness Create(DeviceContext context)

Parameters

context DeviceContext

Returns

Brightness