: How to fill a shape with multiple colors Hey I recently started using Illustrator so still a newbie. I am trying to add 4 colors within the sunglasses as shown in Img1. At the moment I
Hey I recently started using Illustrator so still a newbie. I am trying to add 4 colors within the sunglasses as shown in Img1.
At the moment I have created 4 different sized circles and gave them a stroke of 1 and separate colors. I then created a group of these 4 circles and placed them behind the sunglasses.
What I have not been able to do is get rid of the remaining part of the circles which are not behind the right side of the sunglasses. Hence my requirements are;
I only want the part of the colored circles in the right part of the sunglasses as highlighted in Img2.
The circular part which is not behind the sunglasses can be hidden or deleted which ever method is easier but also smaller in size.
Img3 and Img4 are for reference.
More posts by @Goswami567
3 Comments
Sorted by latest first Latest Oldest Best
Use a clipping mask, but . . . it would seem you have a compound path, so there are some hoops to jump through first.
Copy the object and paste it somewhere else on your artboard
Click Object > Compound Path > Release
Delete the inside path of the stars.
Move the new object over your rainbow (which should be a group).
Select both rainbow and new object, and click Object > Clipping Mask > Make
Click and drag it to position it over your star-shaped frames.
Click Object > Arrange > Send to Back
If all the objects are vector, just select them all, go to pathfinder, click divide, then ungroup the objects, click on the areas you want to delete, and delete them
Use a clipping mask. (rather than pathfinder, as pathfinder is very "destructive"... I used to always use pathfinder for just about everything, but anything I did was permanent, whereas Clipping masks allow me to go back and change things.)
Clone your rainbow (so that you have 2 of them)
Select one star and one rainbow then Right Click → Make Clipping Mask
Then select the other star and other rainbow and do the same thing.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.