确定遮罩对象的可见区域/不可见区域

发布于 2024-12-07 17:03:38 字数 236 浏览 0 评论 0原文

我有一个名为 Circle_mc 的影片剪辑(请参阅下面链接上的图像)和一个遮罩对象(影片剪辑),它确定圆的可见区域。用户可以更改可见部分(扩展红色区域并使其变为红色+蓝色,灰色区域不可见)。我需要找到可见区域与不可见区域(红色+蓝色/灰色)的比例,以便我可以计算角度。

http://i52.tinypic.com/33w01le.jpg

I have a movie clip named circle_mc(see the image on the link below) and a mask object(movie clip) which determines visible area of the circle. User can change the portion which is visible (extend the red area and make it red+blue, gray area is invisible). I need to find proportion of visible area to invisible area (red+blue/gray) so that I can calculate angle.

http://i52.tinypic.com/33w01le.jpg

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

记忆消瘦 2024-12-14 17:03:38

这里是一个公式的工作示例。

Here is a working example of a formula.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文