[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.PixelFormat

Struct PixelFormat

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

D2D1_PIXEL_FORMAT

public struct PixelFormat
Inherited Members
System.ValueType.Equals(object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()

Constructors

PixelFormat(Format, AlphaMode)

Initializes a new instance of the PixelFormat struct.

public PixelFormat(Format format, AlphaMode alphaMode)

Parameters

format Format

A value that specifies the size and arrangement of channels in each pixel.

alphaMode AlphaMode

A value that specifies whether the alpha channel is using pre-multiplied alpha, straight alpha, whether it should be ignored and considered opaque, or whether it is unknown.

Fields

AlphaMode

D2D1_ALPHA_MODE alphaMode

public AlphaMode AlphaMode

Field Value

AlphaMode

Format

DXGI_FORMAT format

public Format Format

Field Value

Format