package kha.graphics1; import kha.Color; /** * Basic graphical interface.
* Represent old devices with only pixel pushing operations. */ interface Graphics { /** * Begin the graphic operations. * You MUST call this. */ function begin(): Void; /** * Terminate all graphical operations and apply them. * You MUST call this at the end. */ function end(): Void; /** * Set the pixel color at a specific position. */ function setPixel(x: Int, y: Int, color: Color): Void; }