Method RunAnalysisEffect
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.Core.dll
RunAnalysisEffect(IDeviceContext, IAnalysisEffect)
Runs the given analysis effect. When this method returns, the effect's output may be retrieved from the appropriate property (e.g. HistogramOutput.
public static void RunAnalysisEffect(this IDeviceContext deviceContext, IAnalysisEffect analysisEffect)
Parameters
deviceContext
IDeviceContextanalysisEffect
IAnalysisEffect
Remarks
This is a helper method that uses DrawImage(IDeviceImage, Point2Float?, in RectFloat?, InterpolationMode, CompositeMode) on a temporary IDeviceContext from the same device.