How can I create a rectangle with a straight line on one side and the other length having a wave shape like in my image below on the sides of pdf