Table of Contents

Method GetBilinearSample

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Core.dll

GetBilinearSample(ISurface<ColorBgra>, float, float)

Gets a bilinear sample from the image.

public static ColorBgra GetBilinearSample(this ISurface<ColorBgra> surface, float x, float y)

Parameters

surface ISurface<ColorBgra>
x float
y float

Returns

ColorBgra