add canvas api support

There a few methods/properties missing. Which I will add later. But a lot can be done with the ones supported already.