Class MatrixGraphics
Graphical functions for a MAX7219 device
public class MatrixGraphics
- Inheritance
-
MatrixGraphics
Constructors
MatrixGraphics(Max7219, IFont)
Constructs MatrixGraphics instance
public MatrixGraphics(Max7219 device, IFont font)
Parameters
Properties
Font
Font used for drawing text
public IFont Font { get; set; }
Property Value
Methods
ScrollDown(bool)
Scrolls the underlying buffer (for all cascaded devices) down one pixel
public void ScrollDown(bool flush = true)
Parameters
flush
bool
ScrollLeft(byte, bool)
Scrolls the underlying buffer (for all cascaded devices) to the left
public void ScrollLeft(byte value, bool flush = true)
Parameters
ScrollRight(byte, bool)
Scrolls the underlying buffer (for all cascaded devices) to the right
public void ScrollRight(byte value, bool flush = true)
Parameters
ScrollUp(bool)
Scrolls the underlying buffer (for all cascaded devices) up one pixel
public void ScrollUp(bool flush = true)
Parameters
flush
bool
ShowMessage(string, int, bool)
Shows a message on the device.
If it's longer then the total width (or
public void ShowMessage(string text, int delayInMilliseconds = 50, bool alwaysScroll = false)
Parameters
WriteLetter(int, char, bool)
Writes a char to the given device with the specified font.
public void WriteLetter(int deviceId, char chr, bool flush = true)