[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.PixelFormat.-ctor

PixelFormat Constructor

PixelFormat(Format, AlphaMode)

Initializes a new instance of the PixelFormat struct.

Declaration
public PixelFormat(Format format, AlphaMode alphaMode)
Parameters
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.