caps in canvas