Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Impossible to create Actor shape node (Read 1886 times)
MUDO
Junior Member
**
Offline



Posts: 90
Joined: Nov 29th, 2008
Impossible to create Actor shape node
May 11th, 2010 at 12:11pm
Print Post  
Hi again.

I have problem with actor shape made in Shape Designer. It looks like this:


But after I use it, it looks like this:


Code is:
Code
Select All
' VB.NET ShapeTemplate definition
   new Shape( _
	 new ElementTemplate() _
	 { _
		new ArcTemplate(40, 0, 60, 20, 90, 360), _
		new LineTemplate(50, 20, 70, 20), _
		new ArcTemplate(64, 20, 75, 30, 270, 90), _
		new LineTemplate(75, 25, 75, 60), _
		new LineTemplate(75, 60, 68, 60), _
		new LineTemplate(68, 60, 68, 30), _
		new LineTemplate(68, 30, 64, 30), _
		new LineTemplate(64, 30, 64, 100), _
		new LineTemplate(64, 100, 52, 100), _
		new LineTemplate(52, 100, 52, 65), _
		new LineTemplate(52, 65, 48, 65), _
		new LineTemplate(48, 65, 48, 100), _
		new LineTemplate(48, 100, 36, 100), _
		new LineTemplate(36, 100, 36, 30), _
		new LineTemplate(36, 30, 32, 30), _
		new LineTemplate(32, 30, 32, 60), _
		new LineTemplate(32, 60, 25, 60), _
		new LineTemplate(25, 60, 25, 25), _
		new ArcTemplate(25, 20, 38, 30, 180, 90), _
		new LineTemplate(30, 20, 50, 20) _
	 }, _
	 new ElementTemplate() _
	 { _
	 }, _
	 new ElementTemplate() _
	 { _
		new LineTemplate(36, 22, 64, 22), _
		new LineTemplate(64, 22, 64, 64), _
		new LineTemplate(64, 64, 36, 64), _
		new LineTemplate(36, 64, 36, 22) _
	 }, _
  FillMode.Winding,   "test" )
 



I want text area only inside actor.
Any idea?

...MUDO...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Impossible to create Actor shape node
Reply #1 - May 11th, 2010 at 12:33pm
Print Post  
You might have moved or removed some point inadvertently. If you only need to change the text region, try setting Shapes.Actor.TextArea to the array from your code.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint