Table of Contents

Constructor PrimitiveBlendEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Framework.dll

PrimitiveBlendEffect(IDeviceEffectFactory)

public PrimitiveBlendEffect(IDeviceEffectFactory factory)

Parameters

factory IDeviceEffectFactory

PrimitiveBlendEffect(IDeviceEffectFactory, IDeviceImage, ReadOnlySpan<IDeviceImage>, in BlendDescription)

public PrimitiveBlendEffect(IDeviceEffectFactory factory, IDeviceImage destination, ReadOnlySpan<IDeviceImage> sources, in BlendDescription blendDescription)

Parameters

factory IDeviceEffectFactory
destination IDeviceImage
sources ReadOnlySpan<IDeviceImage>
blendDescription BlendDescription

PrimitiveBlendEffect(IDeviceEffectFactory, IDeviceImage, IDeviceImage, in BlendDescription)

public PrimitiveBlendEffect(IDeviceEffectFactory factory, IDeviceImage destination, IDeviceImage source, in BlendDescription blendDescription)

Parameters

factory IDeviceEffectFactory
destination IDeviceImage
source IDeviceImage
blendDescription BlendDescription

PrimitiveBlendEffect(IDeviceEffectFactory, IDeviceImage, ReadOnlySpan<IDeviceImage>, BlendOption, BlendOption, BlendOperation, BlendOption, BlendOption, BlendOperation, in BlendFactor)

public PrimitiveBlendEffect(IDeviceEffectFactory factory, IDeviceImage destination, ReadOnlySpan<IDeviceImage> sources, BlendOption sourceBlend = BlendOption.One, BlendOption destinationBlend = BlendOption.InverseSourceAlpha, BlendOperation blendOperation = BlendOperation.Add, BlendOption sourceBlendAlpha = BlendOption.One, BlendOption destinationBlendAlpha = BlendOption.InverseSourceAlpha, BlendOperation blendOperationAlpha = BlendOperation.Add, in BlendFactor blendFactor = default)

Parameters

factory IDeviceEffectFactory
destination IDeviceImage
sources ReadOnlySpan<IDeviceImage>
sourceBlend BlendOption
destinationBlend BlendOption
blendOperation BlendOperation
sourceBlendAlpha BlendOption
destinationBlendAlpha BlendOption
blendOperationAlpha BlendOperation
blendFactor BlendFactor

PrimitiveBlendEffect(IDeviceEffectFactory, IDeviceImage, IDeviceImage, BlendOption, BlendOption, BlendOperation, BlendOption, BlendOption, BlendOperation, in BlendFactor)

public PrimitiveBlendEffect(IDeviceEffectFactory factory, IDeviceImage destination, IDeviceImage source, BlendOption sourceBlend = BlendOption.One, BlendOption destinationBlend = BlendOption.InverseSourceAlpha, BlendOperation blendOperation = BlendOperation.Add, BlendOption sourceBlendAlpha = BlendOption.One, BlendOption destinationBlendAlpha = BlendOption.InverseSourceAlpha, BlendOperation blendOperationAlpha = BlendOperation.Add, in BlendFactor blendFactor = default)

Parameters

factory IDeviceEffectFactory
destination IDeviceImage
source IDeviceImage
sourceBlend BlendOption
destinationBlend BlendOption
blendOperation BlendOperation
sourceBlendAlpha BlendOption
destinationBlendAlpha BlendOption
blendOperationAlpha BlendOperation
blendFactor BlendFactor