Jump to content
You must now use your email address to sign in [click for more info] ×

Fill area within a custom shape


Recommended Posts

I've created a bunch of custom shapes in Affinity Designer to use as symbols. Normally these are a single color and very simple, image street signs for example, that kind of symbols. One look sort of like the figure 8 (an easy example). The two "holes" are transparent (as they are not part of the object). But in some situations I want to fill the two holes with a color. What's the best way to do that? Can I easily create a new shape within another shape and fill that? Or is there a better way?

Link to comment
Share on other sites

  • Staff

Hi ecce,

You could place a shape inside the 'hole' and fill this with colour.  Or if the rest of the sign doesn't have any transparency, you could fill a narrow rectangle or custom shape to fit (drawn with the pen tool) with the colour you want to show and send it behind the sign.  This way the colour would only show where the 'holes' are.

I'm sure if anyone else has other methods of doing this, they will post them :) 

Link to comment
Share on other sites

Its quite easy. Draw a shape that will enclose the "8" figure. Duplicate the 8, and move it above the enclosure in the layer hierarchy.

FillIn01.jpg.60211bb1a74faaff8fa33101411ef7b7.jpg <Select the upper 8 and the enclosure.

Perform a boolean subtraction. Select the results, and perform a divide.

FillIn03.jpg.b2689b97ee7a3a33f01eb311a2261334.jpg < divided

Delete the parts of the divided object not needed. Group them all so they can be moved and manipulated all together.

FillIn04.jpg.ff6a3dcd3b33777336ce0c09e1a7d789.jpg

 

 

iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb,  AMD Radeon R9 M290 2048 Mb

iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil

Huion WH1409 tablet

Link to comment
Share on other sites

Simpler still just make a shape that covers the white spaces and drag below the shape then group. Grouping just makes it easier to move and also to make a Symbol or Asset.

 

 

474133986_ScreenShot2018-06-11at18_14_26.png.a8f1d61b45f9fc8414cef9ac51cf50a4.png

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

2 hours ago, owenr said:

It's simpler to  just use one 8 and no extra rectangle: select the 8, do Divide, and then fill the three resulting pieces.

This leaves a solid "8" shape underneath the extracted circles. A pesky result of Affinity's divide....which I personally disagree with. I believe the OP wants to keep the negative interior and add the fill on occasion. So a copy of the 8 would come in handy ;).... then just delete the solid 8 generated from the Divide.

1 hour ago, firstdefence said:

Simpler still just make a shape that covers the white spaces and drag below the shape then group. Grouping just makes it easier to move and also to make a Symbol or Asset.

 

 

474133986_ScreenShot2018-06-11at18_14_26.png.a8f1d61b45f9fc8414cef9ac51cf50a4.png

In Affinity, though, I actually prefer this method (also mentioned by @stokerg) because it eliminates the eventual gap line produced when shapes abut :(>:(.

Link to comment
Share on other sites

3 hours ago, JimmyJack said:

In Affinity, though, I actually prefer this method (also mentioned by @stokerg) because it eliminates the eventual gap line produced when shapes abut :(>:(.

But as @stokerg also mentioned, this is not suitable if there is any transparency that would allow any covered part of the lower shape to be visible. For that situation, I think we are stuck with using multiple shapes & dealing with the butted edge problem.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

1 hour ago, R C-R said:

But as @stokerg also mentioned, this is not suitable if there is any transparency that would allow any covered part of the lower shape to be visible. For that situation, I think we are stuck with using multiple shapes & dealing with the butted edge problem.

You mean something like this? ;)

Edit: Ahhhhhhrrrgh. Still get a line. :219_octopus:

66790461_ScreenShot2018-06-11at8_11_19PM.thumb.png.39d773d03114b820b52ef57b800a1438.png

Link to comment
Share on other sites

3 hours ago, JimmyJack said:

You mean something like this? ;)

I mean anything like this not 100% opaque example.afdesign, where the upper shape (here a text 8 but it could be anything) is not completely opaque:

transparency.png.4be6df64ca236113262fdeca8ce8b77f.png

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.