Skip to main content

Interface IPixelDisplayProvider

Represents an object that can create IPixelDisplays

Assembly: Meadow.Contracts.dll​
View Source​
Declaration
public interface IPixelDisplayProvider

Methods​

CreateDisplay(int?, int?)​

Creates an IPixelDisplay with the provided (or default) parameters

View Source​
Declaration
IResizablePixelDisplay CreateDisplay(int? width = null, int? height = null)
Returns​

Meadow.Peripherals.Displays.IResizablePixelDisplay: An instance of an IPixelDisplay

Parameters​
TypeNameDescription
System.Nullable<System.Int32>widthThe desired display width
System.Nullable<System.Int32>heightThe desired display height