Table of Contents

Struct DevicePixelFormat

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Contains the data format and alpha mode for a bitmap or device context.
See DevicePixelFormats for a list of common pre-defined values.
D2D1_PIXEL_FORMAT

public struct DevicePixelFormat : IEquatable<DevicePixelFormat>
Implements
Inherited Members

Constructors

DevicePixelFormat(DxgiFormat, AlphaMode)

Properties

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.

DxgiFormat

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

Methods

Equals(DevicePixelFormat)
Equals(object?)
GetHashCode()

Operators

operator ==(DevicePixelFormat, DevicePixelFormat)
operator !=(DevicePixelFormat, DevicePixelFormat)