Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In many cases we need to draw Rounded Rectangle but currently there a… #3548

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Jan 26, 2018

  1. In many cases we need to draw Rounded Rectangle but currently there a…

    …re no such API available in cc.DrawNode class, So I have written a new method in cc.DrawNode class called as drawRoundRect for drawing rounded rectanglen which accepts arguments such as height , width , background color, border width, border color, radius and type. I am using this method to draw rounded rectangle in my game that is on production for past 2 years and it works well when compile it for andriod as well
    Kamlesh authored and Kamlesh committed Jan 26, 2018
    Configuration menu
    Copy the full SHA
    fa8103c View commit details
    Browse the repository at this point in the history