ASK MORDY: Rounding SOME Corners

nanimoshiranai offered this comment on a recent post:

I created now a style with rounded rectangular shape, another one with (only) rectangular form.
Question that arises afterwards: can I create in the same manner a style that has on the left hand corners rounded, but on the right hand side normal rectangular corners? (And vice versa, in order to quickly build a menu bar as on the apple.com website...)


Nanimoshiranai is referring to this post where I linked to a video podcast tutorial I did for Terry White's Creative Suite Podcast. The podcast offered a technique to create dynamically resizable buttons to match the look and feel of Apple's "Leopard" look. The whole original idea came from a tutorial that Veerle posted on her blog.

The result of the tutorial ended up looking something like this:



With the added benefit that the whole thing was a Graphic Style and that NO OBJECTS WERE DRAWN. The button was actually just some text typed on the screen. As you typed the text, the shape of the entire button simply resized itself to match the text.

But the question is actually a really good one. I imagine that what you're looking to do is something along the lines of this:



And yes, what you see in the screenshot above is actually created in the very same way -- although they are now three separate styles. One style has rounded corners just on the left side of an object, one has no rounded corner effect at all, and one has rounded corners only on the right side.

In fact, I can't even begin to tell you how often I hear requests from folks who want to round only SOME of the corners of an object in Illustrator (I can hear those FreeHand users giggling because FreeHand can do that). This requests comes from many web designers who are looking to create tabs or buttons that are rounded at the top of an object but that are squared off at the bottom.

So how did I do it? Simple. Let me show you with a regular rectangle -- then you can figure out how to simulate the effect for the Leopard buttons... I simply used TWO fills -- one fill that had a rounded corner effect applied, and one without. Then I used the Transform effect to offset the fills slightly so that rounded corners were only visible on one side (or just on the top or bottom). Like this:



Here are the steps to do this yourself:

1. Draw a rectangle. Fill it with your favorite color.

2. Use the Appearance panel to add a new fill.

3. With the new fill targeted, choose Effect > Stylize > Round Corners. Do your thing and give yourself some nice rounded corners (if you're working with text as in the leopard button example, you'll use the Effect > Convert to Shape > Rounded Rectangle option instead of course).

4. With that fill still targeted, choose Effect > Distort & Transform > Transform. Under the Move section, adjust your fill slightly so that it's offset from the original fill (you'd use horizontal movements to add rounded corners to the left or right, and you'd make vertical ones to add rounded corners to the top or bottom).

If you wanted everything to be centered, you'd apply a Transform effect to another fill (without rounded corners) with the exact opposite settings.

You like? Yeah, I kinda thought you would...

OK, so all you FreeHanders are still snickering because FreeHand can round just ONE corner, or opposite corners. Well, I have news for you -- I can use the same technique I just employed to do just that -- round ANY specific corner, some, or all. And of course, once it's a style, it's one click to apply it.

Pop quiz, Hotshot. The question you have to ask yourself is, can you figure it out on your own before I post the answer sometime over the weekend? Oooooh, a challenge! What do you do? WHAT DO YOU DO?

(sorry for the dialog stolen from the movie Speed).

Facebook Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks
  • Adah Sharma Looks Gorgeous In Blue Dress At Kannada Film 'Dheera Rana Vikrama' Photoshoot
    Adah Sharma Looks Gorgeous In Blue Dress At Kannada Film 'Dheera Rana Vikrama' Photoshoot

  • Neelam Gill Displays Her Silky Smooth Sexy Legs At Claridges For The Release of New Christmas Tree By Christopher Baily From Burberry in London, England
    Neelam Gill Displays Her Silky Smooth Sexy Legs At Claridges For The Release of New Christmas Tree By Christopher Baily From Burberry in London, England

  • 3D Windows 8
    3D Windows 8

    3D Windows 8 Download

  • Flower
    Flower

    Flower Download

  • FLOWERS by ingrid and titti - Say it with Flowers!
    FLOWERS by ingrid and titti - Say it with Flowers!

    The theme for this week's FLOWERS is 'Say It With Flowers'. We often associate certain flowers with a particular meaning. Roses with love,…

  • Budweiser Draft Beer
    Budweiser Draft Beer

    Budweiser Draft Beer Download

  • Deepika Padukone Hot Cleavage Show At Film "Ram Leela" Press Meet In New Delhi
    Deepika Padukone Hot Cleavage Show At Film "Ram Leela" Press Meet In New Delhi

  • Diana Morales
    Diana Morales

    Diana Morales Download

  • Where to from here?
    Where to from here?

    Websites ... A Collection of Photoshop Websites, it's a bunch of Links to most visited/popular blogs http://photoshop.alltop.com/A Collection of…

  • Bokeh Touch
    Bokeh Touch

    Bokeh Touch Download

  • Priyanka Chopra, Kangana Ranaut and Ileana D'Cruz Super Hot Photos From Hello Hall Of Fame Awards 2013
    Priyanka Chopra, Kangana Ranaut and Ileana D'Cruz Super Hot Photos From Hello Hall Of Fame Awards 2013

  • Alessandra Ambrosio on Sofa
    Alessandra Ambrosio on Sofa

    Alessandra Ambrosio on Sofa Download

  • Boat Traveling
    Boat Traveling

    Boat Traveling Download

  • Big Market
    Big Market

    Big Market Download

  • Adobe Lightroom 3 - Color Tutorial
    Adobe Lightroom 3 - Color Tutorial

    Lightroom Tutorial: A few quick notes for those that are interested: I increased the exposure to brighten the image I increased the…

  • Week 2 -Camera Raw, Mastering The Basic Panel -Links fixed
    Week 2 -Camera Raw, Mastering The Basic Panel -Links fixed

    Okay Let's try this again with UNIVERSAL Links HowdyHere are the REAL links for the class handout and detailed notes for "toning an image"Remember,…

  • Free After Effects Template - Typograph
    Free After Effects Template - Typograph

    Download:novafile.com

  • Week 1 Setting up Everything...
    Week 1 Setting up Everything...

    Week 1 October 21, 2012 ---Setting Everything UpLinks to Web pages with details.HomeWeek 1Do FirstCalibrate MonitorPhotoShop SettingsAcquiring…

  • A Quarter for Your Thoughts?
    A Quarter for Your Thoughts?

    I just returned from the Creative Suite Conference and Web Design Conference in Chicago, where I gave my all-day tutorial entitled "Fall in Love with…

  • Pier Lake
    Pier Lake

    Pier Lake Download

  • Best Photography of The Week(Oct 27)
    Best Photography of The Week(Oct 27)

    Best Photography of the Week. This collection is a part of ‘Photos of the week’, a series to showcase the most beautiful photography I…

  • Audio Mic Jungle
    Audio Mic Jungle

    Audio Mic Jungle Download

  • See you in 2008!
    See you in 2008!

    Just want to wish all of my devoted readers a happy new year. Lots of cool and wonderful stuff happened in 2007, and I think we'll see that trend…

  • Starting the New Year with...Sugar Peonies!
    Starting the New Year with...Sugar Peonies!

    I think it's pretty fitting that the New Year has begun, and I'm already making sugar peonies like crazy! Ever since I attended a fabulous flower…

  • Snow Buntings
    Snow Buntings

    I took a trip last week to North Wales, hoping to photograph Crossbills. I arrived at the forest to find a couple of inches of snow on the roads, a…

  • Flowers of the Month - December 2015
    Flowers of the Month - December 2015

    2 December - DIY Flower Tips and Inspiration - White AmaryllisIt's the end of December and I'm here again with 'Flowers of the Month' - where I'm…

  • Wheatears
    Wheatears

    With some southerly winds yesterday there was a large movement of migrants through locally. I made the most of the sunshine and spent the day trying…

  • Aishwarya Devan Looks Super Sexy In Her Latest Hot Photoshoot
    Aishwarya Devan Looks Super Sexy In Her Latest Hot Photoshoot

  • Lightroom Tutorials : Landscape
    Lightroom Tutorials : Landscape

    CLICK HERE to learn more about Adobe Lightroom. To learn more about how I process images check out my Lightroom Tutorial and Lightroom Presets.CLICK…

  • Sonam Kapoor Looks Gorgeous In White Dress At FilmFare Glamour And Style Awards Cover Launch
    Sonam Kapoor Looks Gorgeous In White Dress At FilmFare Glamour And Style Awards Cover Launch

  • Happy New Year 2015 HD Wallpapers, Images and Pictures
    Happy New Year 2015 HD Wallpapers, Images and Pictures

    Happy New Year Wallpapers2015 New Year Pictures and WallpapersHappy New Year 2015 WallpapersHappy New Year 2015 Pictures and WallpapersHappy New Year…

  • Assassins Creed
    Assassins Creed

    Assassins Creed Downlaod