Table of Contents

Class FixedSizeFont

Namespace
Iot.Device.Max7219
Assembly
Iot.Device.Max7219.dll

Implementation of a IFont that uses a common array for all characters. The number of bytes per character is constant and zero values between the characters are trimmed.

public class FixedSizeFont : IFont
Inheritance
FixedSizeFont
Implements

Constructors

FixedSizeFont(int, byte[], int)

Constructs FixedSizeFont instance

public FixedSizeFont(int bytesPerCharacter, byte[] data, int spaceWidth = 3)

Parameters

bytesPerCharacter int

number of bytes per character

data byte[]

Font data

spaceWidth int

Space width

Properties

this[char]

Get character information

public ListByte this[char chr] { get; }

Parameters

chr char

Property Value

ListByte