Skip to main content
Known Participant
May 17, 2010
Question

How to find out the objects are behind(not hidden) an image?

  • May 17, 2010
  • 1 reply
  • 429 views

Could you please advise me is it possible to find out if the texts (or) objects are behind (not hidden) an image (or) any tinted boxes using scripting via "illustrator cs3".

Thanks for looking into this.

This topic has been closed for replies.

1 reply

artchrome
Inspiring
May 17, 2010

Hi Maria,

if an text or object are behind an another object, i think you need to test position of this text and his layer.

for exemple:

layers[0] a rectangular pathItems [100,100,200,200]

if there is text or other object, it should be on layer[1] or [2] [3] ...[0+x] ( i didn't talk about sublayer, but it's same thing) and it should have same position than rectangular pathItems or included (x>100 && x<200 && y>100 && y<200) and it should have color.

But in some cases, we will see the text if object is hollow / concave, and script will return "hidden"

art.chrome