Pergunta

I'm creating a canvas with GWT, and I have seen both solutions using Canvas.createIfSupported(); or new GWTCanvas();

Which one is the preferred, and why?

Foi útil?

Solução

Use Canvas. It's part of GWT. GWTCanvas is only in the incubator project, which is deprecated now.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top