inedi
Topic Author
Posts: 8
Joined: 06 Jan 2019, 18:16

PathGeometry Classes for dynamic geometry

22 Jun 2019, 19:40

Hello
I suggest add classes for build PathGeometry in Noesis GUI
(PathGeometry -> PathFigure -> PathSegment /ArcSegment etc)

It is now quite difficult to implement such gauges:
Image

in WPF this Gauges with dynamic geometry - is easy code
<Path x:Name="PART_Path"
                            Stroke="Red"
                            StrokeThickness="10"
                            StrokeStartLineCap="Round"
                            StrokeEndLineCap="Round">
                            <Path.Data>
                                <PathGeometry>
                                    <PathFigure StartPoint="{Binding StartPoint}">
                                        <ArcSegment
                                            x:Name="PART_BackgroundArcSegment"
                                            IsLargeArc="True"
                                            SweepDirection="Clockwise"
                                            RotationAngle="{Binding RotationAngle}">
                                            Size="{Binding Size}">
                                        </ArcSegment>
                                    </PathFigure>
                                </PathGeometry>
                            </Path.Data>
                        </Path>
This classes for WPF already loaded for WPF Git:
https://github.com/dotnet/wpf/tree/mast ... dows/Media

Tags:
 
User avatar
sfernandez
Site Admin
Posts: 1920
Joined: 22 Dec 2011, 19:20

Re: PathGeometry Classes for dynamic geometry

25 Jun 2019, 10:36

We added this feature to our roadmap because it is being asked a few times in the past (#1276), will work on it.

Who is online

Users browsing this forum: No registered users and 0 guests