We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
svg的mask元素应用在dom上时,dom如果有transform动画,引用的mask=maskId,mask也会跟随transform,错误展示,应该与引用的对象无关。 原本是所有path的point进行点乘this.matrix,性能也有问题,因为mask不支持transform。 将mask本身的transform下放到children里,然后在引用mask的dom那先求dom的matrix逆矩阵,然后将mask的children的transform点乘逆矩阵即可。
The text was updated successfully, but these errors were encountered:
fix: mask的transform跟随问题 #91
63390ed
fix: 应该使用svg特殊的matrix #91
5533bd9
army8735
No branches or pull requests
svg的mask元素应用在dom上时,dom如果有transform动画,引用的mask=maskId,mask也会跟随transform,错误展示,应该与引用的对象无关。
原本是所有path的point进行点乘this.matrix,性能也有问题,因为mask不支持transform。
将mask本身的transform下放到children里,然后在引用mask的dom那先求dom的matrix逆矩阵,然后将mask的children的transform点乘逆矩阵即可。
The text was updated successfully, but these errors were encountered: