Table of Contents

Property Image

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

Image

Gets or sets the pixel data to display. The array is indexed as [x, y] where the first dimension is width and the second is height.

public Color[,]? Image { get; set; }

Property Value

Color[,]

Remarks

Setting this property marks the view as needing redraw. The image will be scaled to fit the current Viewport while maintaining aspect ratio using nearest-neighbor interpolation.