UNPKG

rpi-led-matrix-painter

Version:

Add drawing facilities to rpi-led-matrix. Manage sections of the board independently, draw shapes, text, and images.

17 lines (16 loc) 413 B
import { DrawMode } from "./drawmode"; import { DrawModeOption } from "./drawmodeoption"; import { Point } from "./point"; export interface PaintingInstruction { id: string, drawMode: DrawMode, points: Point | Point[], color: number, layer: number, drawModeOptions?: DrawModeOption, width?: number, height?: number, text?: string, imagePath?: string, buffer?: Buffer }