Helpful and easy to use functions for working with <canvas>.