0

I have a rectangle shape with no fill and no outline and one line of a text. I want to clip this text by the shape. If the shape has no fill, the text will disappear. If the shape has white fill, I will lost a content under this shaped text. How to get around this?

UPDATE:

enter image description here

I need transparent shape, not white. White background hides green leafs. If I set up it as 'no fill, no outline', it stops to work as clipping mask.

7
  • Hi. Welcome to GDSE. Can you post an image or screenshot showing what you are trying to achieve, or what has failed?
    – Billy Kerr
    Nov 13, 2022 at 18:36
  • Updated my question.
    – Denis
    Nov 13, 2022 at 22:02
  • I don't really understand what you are trying to accomplish. If you want something to hide the leaves, you need to mask the leaves not the text. And if you want text to not be visible, set it's opacity to 0% or turn off the layer. Essentially, I don't understand why you are trying to mask text merely to change its color. Why can't you just change the text color?
    – Scott
    Nov 13, 2022 at 22:39
  • Are you trying to create a "hole" in the leaves so if the text is not visible, the leaves still have transparent areas where text used to be? Basically "punching out" the text from the leaves?
    – Scott
    Nov 13, 2022 at 22:44
  • Thanks for the update, but I still don't know what you want to achieve. Why do you need a clipping mask? What are you trying to mask?
    – Billy Kerr
    Nov 13, 2022 at 22:56

1 Answer 1

2

If you are merely trying to clip the ascenders and descenders to the edge of that white rectangle... All you need is a standard layer mask applied to the text layer.

Here.. red is the full text, black shows the masked text.

enter image description here

It's simply a regular layer mask. No need for any shapes or clipping masks.

enter image description here

2
  • +1 yet another XY Problem solved.
    – Billy Kerr
    Nov 14, 2022 at 0:29
  • We will see :) no real way to tell without a response. :)
    – Scott
    Nov 14, 2022 at 1:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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