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
ScaleX
Amount to scale image by in X
float ScaleX { get; }
Property Value
ScaleY
Amount to scale image by in Y
float ScaleY { get; }
Property Value
Width
Width of the image in pixels
uint Width { get; }
Property Value
Methods
GetImageData(float)
Get the image data for the current time
ReadOnlySpan<Pixel> GetImageData(float seconds)
Parameters
seconds
floatTime since editor started
Returns
- ReadOnlySpan<Pixel>
Flat array of Pixel values representing the image