Interpolation

StockSharp.Xaml.Charting.Rendering.HighSpeedRasterizer.WBX.WriteableBitmapExtensions

The interpolation method.

Fields

Bilinear
public const Interpolation Bilinear
value = Interpolation.Bilinear

Linear interpolation in 2D using the average of 3 neighboring pixels.

NearestNeighbor
public const Interpolation NearestNeighbor
value = Interpolation.NearestNeighbor

The nearest neighbor algorithm simply selects the color of the nearest pixel.