Redraw

trait Redraw[Canvas]

Algebra for generating a stream of events indicating when the canvas is ready to redraw. The algebra applies to a Renderer's Canvas data type instead of the F data type.

class Object
trait Matchable
class Any

Value members

Abstract methods

def redraw(canvas: Canvas): Observable[Int]

Return an Observable that has an event every time the canvas is ready to redraw. The value is the approximate time in millisecond since a frame was last rendered.

Return an Observable that has an event every time the canvas is ready to redraw. The value is the approximate time in millisecond since a frame was last rendered.