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
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.