I'm new to Illustrator and now I want to create a rounded rectangle with
10px 0px 10px 0px radius for corner, how can I do that?
In CS6 and earlier:
There is no dynamic way to do this as far as I know. The easiest way to do what you want is to use the rectangle tool, and shape it to the size you want.
Then go to
Appearance Window > Stylize > Rounded Corners > 10px
and then hit
Object > Expand Appearance
and zoom into the top right corners and adjust the nodes so that the corner ends up square and repeat with the other one.
In CC 2018, you must first select- with the direct select tool or lasso- only the point or points associated with the the corner you want to work with. Then you can use the widget to adjust that corner's radius independently. Note that with an already rounded corner there are 2 associated points. The good news is that any corner in any shape can be adjusted now.