Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Bug in Shape (Read 2656 times)
castefani
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Feb 26th, 2009
Bug in Shape
Mar 4th, 2009 at 9:21pm
Print Post  
I found a small bug when creating a shape:

            var = new RRS MindFusion.Diagramming.Silverlight.Shape (
                ElementTemplate new []
(
new ArcTemplate (3, 3, 94, 94, 0, 360, Color.Red, 1)
),
                            ElementTemplate new []
(
new ArcTemplate (15, 15, 70, 70, 0, 360, Color.Blue, 3)
),
                null, FillRule.Nonzero, "bpmnIntermediate");


Not respect either the color or the width of ElementTemplate.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Bug in Shape
Reply #1 - Mar 6th, 2009 at 12:24pm
Print Post  
This implements support for different colors and pen widths in the Shape definitions:
https://mindfusion.eu/_beta/diaglite_shapedef.zip

Unlike the versions of this control for other platforms, in the Silverlight version all outline segments must have the same color and pen width. Currently the control uses the ones set for the first outline segment. This limitation does not apply to decoration segments - each decoration can have distinct width and color.

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