Add method to create and draw a rounded rectangle