...

View Full Version : Creating a rectangle with rounded corners in Photoshop



losse
01-18-2007, 03:18 PM
hi there

You know how you can use the Rectangle Marquee Tool in photoshop, create a rectangle, and then edit >> stroke to create a line on the rectangle?

I've been trying to do the same thing but with rounded corners on the rectangle rather than straight angles.

I use the same steps with the rectangle marquee tool, set the "feather" option to 20, then it creates the rectangle with the rounded corners... BUT when I go to select edit >> stroke, the line it creates on the rectangle is actually not solid but rather like an outer glow fading away from the line...

I was wondering if you could guide me in creating a rectangle with rounded corners so that I can put a solid line on the rectangle.

Thanks - let me know if you would like me to clarify or include attachments.

otaku149
01-18-2007, 03:44 PM
The following sample will create a rectangle with rounded corners with a black solid line, adjust to fit your needs:

File + New with background color set to "White"
Set the foreground color to "White"
Set the radius to something like "10px"
Select the "Rounded Rectangle Tool"
Draw your rectangle
Select your rectangle + right click + Rasterize Layer
Edit + Stroke + set the color to black or something (not white)

Hope this help!

losse
01-18-2007, 07:18 PM
1. File + New with background color set to "White"
2. Set the foreground color to "White"
3. Set the radius to something like "10px"
4. Select the "Rounded Rectangle Tool"
5. Draw your rectangle
6. Select your rectangle + right click + Rasterize Layer
7. Edit + Stroke + set the color to black or something (not white)

Thanks for the tips Martial... You lost me at step number 6...

I drew the rectangle and what came up was a rectangle with a white body and a thin black border on it... How do you select it?? Keep in mind I have document is bigger than the rectangle... When I hit "select" the entire document is selected and when I hit rasterize... the rectangle disapears.

If you can clarify that would be great!

Thanks

otaku149
01-18-2007, 07:40 PM
How do you select it??

To select your rectangle just click on your rectangle.

I made a small flash demo for you, download the following .zip and double-click on rounded-corners.swf:

http://www.getelementbyid.com/rounded-corners.zip

P.S. In the flash demo, you have a top nav bar to pause and play etc...

Let me know if it's ok.

losse
01-18-2007, 07:49 PM
wow!
Good work... I get it now!! Very nicely done...

What software did you use for thaT?

otaku149
01-18-2007, 07:57 PM
BB FlashBack, you can export to flash, powerpoint, wmv, exe etc... Also you can add images, balloon text and voice very easily and quickly.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum