LabelBitmap

class LabelBitmap(val width: Int, val height: Int)(source)

A one-bit picture in the printer's orientation: width dots across the head, height rows along the feed. Each row is packed most significant bit first, 1 for ink.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
fun isInk(x: Int, y: Int): Boolean
Link copied to clipboard
fun row(y: Int): ByteArray
Link copied to clipboard
fun setInk(x: Int, y: Int)