Characteristic Locus
Inheritance System.Object > DisplayBase
Implements IGraphicsDisplay
Namespace Meadow.Foundation.Displays
Assembly Meadow.Foundation.dll

Syntax

public abstract class DisplayBase : object, IGraphicsDisplay

Properties

ColorMode

Declaration
public ColorType ColorMode { get; }

Property Value

Type Description
ColorType

Height

Declaration
public int Height { get; }

Property Value

Type Description
System.Int32

IgnoreOutOfBoundsPixels

Declaration
public bool IgnoreOutOfBoundsPixels { get; set; }

Property Value

Type Description
System.Boolean

Width

Declaration
public int Width { get; }

Property Value

Type Description
System.Int32

Methods

Clear(Boolean)

Declaration
public void Clear(bool updateDisplay = false)

Parameters

Type Name Description
System.Boolean updateDisplay

DrawBuffer(Int32, Int32, IDisplayBuffer)

Declaration
public void DrawBuffer(int x, int y, IDisplayBuffer displayBuffer)

Parameters

Type Name Description
System.Int32 x
System.Int32 y
IDisplayBuffer displayBuffer

DrawPixel(Int32, Int32, Color)

Declaration
public void DrawPixel(int x, int y, Color color)

Parameters

Type Name Description
System.Int32 x
System.Int32 y
Color color

DrawPixel(Int32, Int32, Boolean)

Declaration
public void DrawPixel(int x, int y, bool colored)

Parameters

Type Name Description
System.Int32 x
System.Int32 y
System.Boolean colored

Fill(Color, Boolean)

Declaration
public void Fill(Color fillColor, bool updateDisplay = false)

Parameters

Type Name Description
Color fillColor
System.Boolean updateDisplay

Fill(Int32, Int32, Int32, Int32, Color)

Declaration
public void Fill(int x, int y, int width, int height, Color fillColor)

Parameters

Type Name Description
System.Int32 x
System.Int32 y
System.Int32 width
System.Int32 height
Color fillColor

InvertPixel(Int32, Int32)

Declaration
public void InvertPixel(int x, int y)

Parameters

Type Name Description
System.Int32 x
System.Int32 y

Show()

Declaration
public void Show()

Show(Int32, Int32, Int32, Int32)

Declaration
public void Show(int left, int top, int right, int bottom)

Parameters

Type Name Description
System.Int32 left
System.Int32 top
System.Int32 right
System.Int32 bottom