func (s *CanvasScreen) DrawText(text string, x, y int, color Color) {
	ctx := s.Canvas.Call("getContext", "2d")

	ctx.Set("fillStyle", fmt.Sprintf("rgb(%d, %d, %d)", color.R, color.G, color.B))
	ctx.Call("fillText", text, x, y)
}
// HTML5 Canvas implementation of a DrawText
HTML5 Canvas implementation of a DrawText
// HTML5 Canvas implementation of a DrawText
func (s *CanvasScreen) DrawText(text string, x, y int, color Color) {
	ctx := s.Canvas.Call("getContext", "2d")
	ctx.Set("fillStyle", fmt.Sprintf("rgb(%d, %d, %d)", color.R, color.G, color.B))
	ctx.Call("fillText", text, x, y)
}
func ( s * CanvasScreen ) DrawText ( text string , x , y int , color Color ) { ctx := s . Canvas . Call ( " " , " " ) ctx . Set ( " " , fmt . Sprintf ( " " , color . R , color . G , color . B ) ) ctx . Call ( " " , text , x , y ) }
HTML5 Canvas implementation of a DrawText
HTML5 Canvas implementation of a DrawText