Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Shape Border gets invisible when increase (Read 5234 times)
Yogendra
Junior Member
**
Offline


I Love MindFusion!

Posts: 68
Joined: Dec 27th, 2012
Shape Border gets invisible when increase
Jul 15th, 2013 at 12:12pm
Print Post  
Hi Stoyo,

I am working with diagram. I can insert shape on it and increase the border size from UI. This functionality is working with all type of shape expect of STAR shape. When increase the size of border of star shape, border gets cut as shown in snap shot. I have attached snap shot to identify the issue. Please suggest me something.

Thanks in advanced. Smiley
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Shape Border gets invisible when increase
Reply #1 - Jul 16th, 2013 at 4:08pm
Print Post  
Hi,

You omitted attaching the image; I can't see invisible borders for star shapes in my test project.

Stoyan
  
Back to top
 
IP Logged
 
Yogendra
Junior Member
**
Offline


I Love MindFusion!

Posts: 68
Joined: Dec 27th, 2012
Re: Shape Border gets invisible when increase
Reply #2 - Jul 17th, 2013 at 6:05am
Print Post  
Hi Stoyo,

Thanks to reply back. I am sorry.
For your further investigation, I am attaching snap shot so that you can easily understand, What's the problem that?

Thanks in advanced. Smiley

  

BorderIssueWithStarShape.PNG (Attachment deleted)
Back to top
 
IP Logged
 
Yogendra
Junior Member
**
Offline


I Love MindFusion!

Posts: 68
Joined: Dec 27th, 2012
Re: Shape Border gets invisible when increase
Reply #3 - Jul 19th, 2013 at 1:00pm
Print Post  
Hi stoyo,

Please help me on this.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Shape Border gets invisible when increase
Reply #4 - Jul 19th, 2013 at 4:23pm
Print Post  
Hi,

Replace the default star definition with this one:

Code
Select All
Shape.Shapes.Remove("Star");
new Shape(
	new ElementTemplate[]
	{
		new LineTemplate(50, 0, 40, 33),
		new LineTemplate(40, 33, 0, 30),
		new LineTemplate(0, 30, 30, 50),
		new LineTemplate(30, 50, 15, 100),
		new LineTemplate(15, 100, 50, 60),
		new LineTemplate(50, 60, 85, 100),
		new LineTemplate(85, 100, 67, 50),
		new LineTemplate(67, 50, 100, 30),
		new LineTemplate(100, 30, 60, 33),
		new LineTemplate(60, 33, 50, 0)
	},
FillRule.Nonzero, "Star"); 



I hope that helps,
Stoyan
« Last Edit: Jul 20th, 2013 at 7:59am by Stoyo »  
Back to top
 
IP Logged
 
Yogendra
Junior Member
**
Offline


I Love MindFusion!

Posts: 68
Joined: Dec 27th, 2012
Re: Shape Border gets invisible when increase
Reply #5 - Jul 20th, 2013 at 11:04am
Print Post  
Hi Stoyo,

Thanks to reply Back. Yes it's working. Smiley

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint