Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个绘图区域,例如paper = raphael(...)和paper1= raphael(...)。如何访问另一个画布的元素...我有一个路径paper1,我想从paper. 有什么建议么?
paper = raphael(...)
paper1= raphael(...)
paper1
paper
创建一个包含两篇论文的元素并从那里访问它们……两篇不同的论文之间不会有任何魔力……或者将每篇论文添加到另一篇论文中,所以你可以这样做:
var myCurrentPaper = myElementInPaperOne.paper; var myOtherPaper = myCurrentPaper.paperTwoReference;