[]
Initializes a new instance of the PixelFormat struct.
public PixelFormat(Format format, AlphaMode alphaMode)
Type | Name | Description |
---|---|---|
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. |