# A probe into the rectangle of rounded corners

Source: Internet
Author: User
Tags implement modify
Rounded Corners

First of all, this tutorial can only be discussed as a topic, the focus of the discussion is caused by a problem, the following questions:
Question: How do you create such a rectangular frame--two rounded corners, two right angles? For example, the following effect picture shows:

If you're upset about the effect above, take a look at this single effect chart:
There are a lot of ways to make it, you can think of several? Our answer is: 6 kinds!

If it is just through the Mask tutorial learning friends See this problem, presumably will not be thinking will say: easy, using mask, you can easily achieve this effect! "Is that so?" she said. Please see:

1. Select the Rounded rectangle drawing tool of the toolbox and draw a rounded rectangle of any shape in the editing area (for the method of drawing the rounded rectangle, we have made a detailed narration in the text of the round corner rectangle button, please refer to it), as shown below:

2. Select the Rectangle tool to draw a rectangle in the editing area to be able to cover half the size of the rounded rectangle, as shown in the following figure: 3, the selected Rectangle object, the shortcut key "Ctrl+x", cut it, and then execute the menu command "Edit--paste as Mask", So the effect we need is already there, as shown in the following illustration:

[ Solution Summary: is a better way of thinking, but too complex ... Not suitable for beginners]

[Second scenario: Using the ' modify--combine--punch ' command to implement]

1, draw rounded rectangle.

2, draw a rectangular box, placed to the corner rectangle needs to produce right angle of that end, position placed as shown in the following figure:

3, at the same time selected two objects, execute menu command "Modify--combine--punch", the effect has appeared, please see the following figure:

[ Solution Summary: convenient and quick, good method ...]
[Third scenario: Using the "modify--combine--intersect" command to implement]

1, draw the rounded rectangle. 2, draw a rectangular box, the size of the rectangle to be able to cover the rounded rectangle is advisable, the specific position shown in the following figure:

3, at the same time selected two operating objects, the implementation of the menu command "Modify--combine--intersect" to see the effect is not the same appearance? As shown in the following illustration:

[ Solution Summary: good approach, but half won't consider using it ... Or not considered:)]

[Scenario Fourth: Using the "Modify--combine--crop" command to implement]

1, draw the rounded rectangle.

2, draw a rectangular box, the size of the rectangle to be able to cover the rounded rectangle is advisable, the specific position shown in the following figure:

3, at the same time selected two operating objects, the implementation of the menu command "Modify--combine--crop" to see the effect is not the same appearance? As shown in the following illustration:

[ Solution Summary: You can find that the command and "modify--combine--intersect" This command is similar to the best, generally do not think of using it ...]

[Scenario Fifth: Using the "modify--combine--union" command to implement]

1. Draw a rectangle with rounded corners. 2, select the rounded rectangle, shortcut key operation "Ctrl+shift+d", in situ clone an identical rounded rectangle, drag the cloned object down a distance, as shown in the following figure:

3. Select the Clone object, open the object panel, adjust the value of the rounded rectangle's roundness to "0", so that the rounded rectangle becomes a rectangle, and the adjustment method is as follows:

4. The two objects in the adjusted edit area are shown in the following illustration:

5, at the same time select the editing area of two objects, execute menu command "Modify--combine--union", we can find that the same effect chart also produced, please see the following figure:

[ Solution Summary: think about it, I always feel that this is the solution to the problem, and very consistent with the question, you do not think so? Oh, it doesn't matter, there is a final plan ...

[Scenario Sixth: implementation of the Knife tool using the Toolbox]

1. Draw a rectangle with rounded corners. 2, from the upper side of the ruler bar to drag a horizontal guide line, the position according to your needs, as shown in the following figure:

3. Select the Rounded Rectangle object and select the Knife tool for the toolbox to cut the rounded rectangle horizontally along the guide line, as shown in the following illustration:

4, cutting complete, we can clearly see that the rounded rectangle has been cut into two parts, from the path node display can explain this point, please see the following map path node display:

5, the use of point selection tool will cut the two parts of the separation, the need to leave the part, do not need the part of course clicked off-delete!

[ Solution Summary: or this scheme is more agile, this is my feeling AH ~ ~ OH:) Convenient, fast ~ ~ is the best of six programs! ]

Through the above we use six solutions to solve the same problem of the operation process, I hope that some of the FW in the command and tools to master more skilled, but also hope that we can open up some of the ideas ...
Anyway, hopefully this tutorial will give you some help!

Related Keywords:

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

## A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

• #### Sales Support

1 on 1 presale consultation

• #### After-Sales Support

24/7 Technical Support 6 Free Tickets per Quarter Faster Response

• Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.