Table of Contents

Method GetBilinearSampleClamped

Namespace
PaintDotNet.Rendering
Assembly
PaintDotNet.Core.dll

GetBilinearSampleClamped(ISurface<ColorBgra>, float, float)

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

Parameters

surface ISurface<ColorBgra>
x float
y float

Returns

ColorBgra

GetBilinearSampleClamped<TSurfaceBgra>(ref TSurfaceBgra, float, float)

public static ColorBgra GetBilinearSampleClamped<TSurfaceBgra>(ref TSurfaceBgra surface, float x, float y) where TSurfaceBgra : ISurface<ColorBgra>

Parameters

surface TSurfaceBgra
x float
y float

Returns

ColorBgra

Type Parameters

TSurfaceBgra