Mobile app version of vmapp.org
Login or Join
Nimeshi706

: How to create a two-colored rectangle and vertically-align it with text using Illustrator? I need to create a rectangle that has a 1px stroke. It needs to have one color on the top left and

@Nimeshi706

Posted in: #AdobeIllustrator #HowTo

I need to create a rectangle that has a 1px stroke. It needs to have one color on the top left and another on the bottom right with a diagonal line running from the bottom left to the top right. I also need to add some text to the right of it and would like it to be vertically-centered with the rectangle.

Will someone please tell me the steps to do this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Nimeshi706

1 Comments

Sorted by latest first Latest Oldest Best

 

@Speyer780

Select your rectangle tool. Draw a rectangle. (ooh! easy.)
Window → Stroke and make sure it says "1 pt."
Window → Gradient
Click on the big white example box in the Gradient window. In CS5
this fills in with a white-to-black linear gradient.
Window → Swatches or Color
Drag your colors onto the left and right arrows either on the rectangle or in the Gradient window to set the colors of your gradient.
Click on the Gradient window to select it. (that is, to make sure Color or something else isn't active) Then click and drag on your rectangle
for your diagonal. Repeat until you like it.
Select your text tool. Type. (ooh! easy.)
Select the type AND the rectangle.
Window → Align
Click on the Vertical Align Center button. Futz as needed so it
looks right.
Tada!

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme