Enum BlendOption
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
Specifies how one of the color sources is to be derived and optionally specifies a preblend operation on the color source.
D2D1_BLEND
public enum BlendOption
Fields
Zero = 1The data source is black (0, 0, 0, 0). There is no preblend operation.
One = 2The data source is white (1, 1, 1, 1). There is no preblend operation.
SourceColor = 3The data source is color data (RGB) from the second input of the blend transform. There is not a preblend operation.
InverseSourceColor = 4The data source is color data (RGB) from second input of the blend transform. The preblend operation inverts the data, generating 1 - RGB.
SourceAlpha = 5The data source is alpha data (A) from second input of the blend transform. There is no preblend operation.
InverseSourceAlpha = 6The data source is alpha data (A) from the second input of the blend transform. The preblend operation inverts the data, generating 1 - A.
DestinationAlpha = 7The data source is alpha data (A) from the first input of the blend transform. There is no preblend operation.
InverseDestinationAlpha = 8The data source is alpha data (A) from the first input of the blend transform. The preblend operation inverts the data, generating 1 - A.
DestinationColor = 9The data source is color data from the first input of the blend transform. There is no preblend operation.
InverseDestinationColor = 10The data source is color data from the first input of the blend transform. The preblend operation inverts the data, generating 1 - RGB.
SourceAlphaSaturated = 11The data source is alpha data from the second input of the blend transform. The preblend operation clamps the data to 1 or less.
BlendFactor = 14The data source is the blend factor. There is no preblend operation.
InverseBlendFactor = 15The data source is the blend factor. The preblend operation inverts the blend factor, generating 1 - blend_factor.
Remarks
See also D3D10_BLEND.