struct

Pixelfont::Grapheme

Inherits Struct < Value < Object

A Bitmap for a character

.###.
#...#
#####
#...#
#...#

becomes Bytes[0b01110_10001, 0b11111_10001, 0b10001_0000]

Constructors

new(width : UInt16, height : UInt16, data : Slice(UInt8))
Source

Instance methods

data
Source
data=(data : Bytes)
Source
height
Source
height=(height : UInt16)
Source
width
Source
width=(width : UInt16)
Source