Table of Contents

Interface IImage

Namespace
RetroEditor.Plugins
Assembly
RetroEditor.dll

Interface for an image - used by the ImageView class

public interface IImage

Properties

Height

Height of the image in pixels

uint Height { get; }

Property Value

uint

ScaleX

Amount to scale image by in X

float ScaleX { get; }

Property Value

float

ScaleY

Amount to scale image by in Y

float ScaleY { get; }

Property Value

float

Width

Width of the image in pixels

uint Width { get; }

Property Value

uint

Methods

GetImageData(float)

Get the image data for the current time

ReadOnlySpan<Pixel> GetImageData(float seconds)

Parameters

seconds float

Time since editor started

Returns

ReadOnlySpan<Pixel>

Flat array of Pixel values representing the image