Interface for a generic Canvas with different APIs,
that can be used to draw graphics.