Added the option to change the opacity level of the custom figure.