Support optional last parameter for graphics.drawRoundRect