Table of Contents

Method ScaleNearestNeighbor

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

ScaleNearestNeighbor(Color[,], Color[,])

Scales a Color[,] pixel array into a destination array using nearest-neighbor interpolation.

public static void ScaleNearestNeighbor(Color[,] source, Color[,] destination)

Parameters

source Color[,]

The source pixel array indexed as [x, y].

destination Color[,]

The destination pixel array indexed as [x, y].