How to cut of rectangle shape to create bracket in Photoshop?


I want a layer like this:

enter image description here

I've drawn the rectangle then I made a selection with the marquee selection tool to delete a part of the rectangle but it deleted whole shape. Can anyone please help me out with this.

Thanks in advance.

2/19/2015 11:06:00 AM

Accepted Answer

Short answer:

Mask those parts out with a layer mask.

Black to hide, white to reveal.

Use black on the parts you want to get rid of.

Long answer:

After you've created the rectangular shape, add a layer mask (located in the bottom of the layers panal, looks like a rectangle with a circle in the middle).

Make a rectangular selection through out the middle of the rectangle. Fill that recangular selection with black on the layer mask.

Now you should have the desired effect.

2/19/2015 11:32:00 AM

Although it might be best to do it in illustrator you can:
First make a rectangle
Then rasterize the layer
Use the select tool to select a square and press delete, this should give you one half of the square bracket.
Cut Square
You can then Duplicate the layer
On one of the layers press Ctrl + T to transform the shape and then right click and press Flip Horizontal
You can now move them apart and using the text tool place text in the right position Final

That might not be the best way to do it but it would be how I would do it.