I am trying to modify the "house" stroke by shaping the end of it. For now, it is shaped by the white triangle shape, but I want the white triangle to become transparent negative space. I have not been able to modify the stroke without messing with the gradient, but I don't want to rasterize the stroke. Is there any way I can turn the white triangle into a transparent mask that will still carve the end of the stroke?



  • Please don't remove the images once you have your answer. The question may help future visitors.
    – Scott
    Sep 8 '17 at 3:37


Paint the triagle with pure black and put the green line behind it.

Select both and go to opacity and in its menu click Make Opacity mask.

Uncheck clip.

See the image below.

enter image description here

  • Thank you so much! I looked into opacity masks earlier but I guess my minor mistake was not making the triangle black. It worked, I really appreciate it! Sep 8 '17 at 1:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.