开发者

Flex3,Tree mapping by means of lines

I want to connect one t开发者_如何学编程ree node with another tree node visually using lines. It's similar to mapping data items of two trees.


You can use transparent layer (Sprite or Canvas) above trees to draw line there. Find nodes you need, get their absolute coordinates with localToGlobal, transform coordinates to line layer (with respect of layer origin on stage), and you can draw the line.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜