Author Topic: Filling multiple shapes with a gradient  (Read 9770 times)

0 Members and 1 Guest are viewing this topic.

edegrave

  • Newbie
  • *
  • Posts: 1
Filling multiple shapes with a gradient
« on: August 18, 2010, 01:09:48 PM »
I'm trying to get 16 shapes (rectangular basic shape) to fill with gradient. Now I can fill them all at once but the gradient applies to the individual shapes. What I'm trying to do is get the fist shape light blue, the second shape a bit darker and so on. Now I can select them one at a time and fill them but I guess there must be a more efficient way to do this. In this drawing I have a lot of 'series' that needs to get filled with colors going darker. I hope this is possible otherwise I'm applying fillings until next week ;)

Regards

vojo

  • Hero Member
  • *****
  • Posts: 1475
Re: Filling multiple shapes with a gradient
« Reply #1 on: August 18, 2010, 02:49:05 PM »
no simple way to do that....2 options I can think of

1.   Add a line to each shape and have a control point to one end...other end touches the shape  (in essence 10 shapes each with a dangling line with a control point at the end).
     Line up all the control points (no matter how far from shape) in say lower left corner.   Then fill all shapes with gradient.
     Once happy, can go into the line geometry and set to no show

2.   Play with the operations tab to combine/sum/mix/etc the pool of shapes.   Simply grouping shapes wont do what you want.
     The add gradient.   I believe this will take some trial and error....so make copies

Good luck

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1712
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Filling multiple shapes with a gradient
« Reply #2 on: August 18, 2010, 03:14:55 PM »
Hi edegrave,

Have a look at the attached image.

1. The first box is just a big rectangle with a gradient fill.
2. The second bunch of boxes are combined so that holes show through. Draw 16 boxes, plus one big frame. Select them all, then combine them using Shape > Operations > Combine.
3. Now put the "grid" on top of the gradient fill.

This might help you to do what you want.
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • Ideas Visio-lized into solutions
Re: Filling multiple shapes with a gradient
« Reply #3 on: August 18, 2010, 04:30:53 PM »
After aligning the shapes, then, if you 1st select the gradient filled shape, and next, holding the shift key down, add the grid shape to the selection, go to operations > subtract and you should be left with 16 squares that have just the gradient fill that was under them.

Wapperdude
« Last Edit: August 18, 2010, 04:39:53 PM by wapperdude »
Visio 2019 Pro

Yacine

  • Hero Member
  • *****
  • Posts: 2698
Re: Filling multiple shapes with a gradient
« Reply #4 on: August 19, 2010, 12:24:26 AM »
how cool is that? thanks for sharing
Yacine

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1712
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Filling multiple shapes with a gradient
« Reply #5 on: August 19, 2010, 04:45:08 AM »
Nice tip on boolean Subtraction, wapperdude!
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

vojo

  • Hero Member
  • *****
  • Posts: 1475
Re: Filling multiple shapes with a gradient
« Reply #6 on: August 19, 2010, 08:11:58 AM »
so does this approach work for group shapes?

Say a 3X3 of group shapes (with subshapes)....boolean subtraction.....gradient over all?

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1712
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Filling multiple shapes with a gradient
« Reply #7 on: August 19, 2010, 09:28:12 AM »
Boolean is pretty destructive. A group will be dissolved and its pieces handled separately. Best just to try it, it's hard to describe and hard to understand exactly what you are asking.
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

vojo

  • Hero Member
  • *****
  • Posts: 1475
Re: Filling multiple shapes with a gradient
« Reply #8 on: August 19, 2010, 10:01:59 AM »
My gut feel says that it would destroy groups and such.
So if edegrave has complex shapes (for whatever reason), the approaches cited would destroy alot of that.

I guess my point is to edegrave....heads up and be careful