Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic problem with actor shape (Read 1541 times)
shil
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 22
Joined: Aug 9th, 2007
problem with actor shape
Sep 26th, 2007 at 1:37pm
Print Post  
hi i use a actor shape and a incoming arrow. but the arrowanchor is not the head of the actor.


is there an easy way to set it to the head of the actor.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: problem with actor shape
Reply #1 - Sep 26th, 2007 at 4:55pm
Print Post  
I think there was a problem with the Actor shape definition in one of the older FlowChart.NET versions. Try redefining it like this:

[code]
// C# ShapeTemplate definition
new Shape(
     new ElementTemplate[]
     {
           new ArcTemplate(40, 0, 60, 20, 90, 360),
           new LineTemplate(50, 20, 70, 20),
           new ArcTemplate(65, 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, 35, 30, 180, 90),
           new LineTemplate(30, 20, 50, 20)
     },
     new ElementTemplate[]
     {
     },
     null, FillMode.Winding,   "Actor" );
[/code]

Or you could define an incoming AnchorPoint at (50,0) in the actor node's AnchorPattern.

Stoyan
  
Back to top
 
IP Logged
 
shil
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 22
Joined: Aug 9th, 2007
Re: problem with actor shape
Reply #2 - Sep 27th, 2007 at 5:43am
Print Post  
thank you stoyo
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint