Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic how to draw more than one pictures in one shapeNode (Read 2334 times)
danyfeng2012
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 8
Joined: Dec 26th, 2014
how to draw more than one pictures in one shapeNode
Dec 29th, 2014 at 11:45am
Print Post  
how to draw more than one pictures in one shapeNode,
shapeNode has the method setImageUrl,but cloud invoke
for more than one times!
  Maybe i should draw in fix position by myself ??
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: how to draw more than one pictures in one shapeNode
Reply #1 - Dec 29th, 2014 at 12:24pm
Print Post  
If you don't need non-rectangular geometries for nodes, you could use TableNodes to display more than one images or text labels.

If you prefer ShapeNodes, you could replace their updateCanvasElements method as shown in following topic:
http://mindfusion.eu/Forum/YaBB.pl?num=1410270450/4#4

and add a MindFusion.Drawing.Image object to the node's content as shown in tutorial 3.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
danyfeng2012
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 8
Joined: Dec 26th, 2014
Re: how to draw more than one pictures in one shapeNode
Reply #2 - Dec 31st, 2014 at 1:17am
Print Post  
as you say , I replace  updateCanvasElements method to draw the second image,thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint