I just noticed that I can’t get masks to work with LineObjects returned by display.newLine. I couldn’t find mention of it in the docs, and the masks work on display.newRect objects. Do people know if this is intended or whether I’m just doing things wrong?
Hi @tap32,
I don’t think lines support direct masking, however you may be able to place them within a display group and then mask the group.
Best regards,
Brent
Hi Brent, thanks for info. I couldn’t find mention of it in the docs, but it seems to be the case. I’ve moved on to using images instead (after initially using rects which seem to respond to masking), which is working well for me.
Hi @tap32,
I don’t think lines support direct masking, however you may be able to place them within a display group and then mask the group.
Best regards,
Brent
Hi Brent, thanks for info. I couldn’t find mention of it in the docs, but it seems to be the case. I’ve moved on to using images instead (after initially using rects which seem to respond to masking), which is working well for me.