made cornerRadius public
added comment with example in demo