Class FixedSizeFont
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
intnumber of bytes per character
data
byte[]Font data
spaceWidth
intSpace width
Properties
this[char]
Get character information
public ListByte this[char chr] { get; }
Parameters
chr
char