Esempio n. 1
0
 public static VisualParameters GetDefaultForMeasurements()
 {
     return(new VisualParameters(
                BrushHelper.CreateBrush(ColorHelper.ToWpfColor("#FBB03B"), 0.3),
                BrushHelper.CreateBrush("#FBB03B"),
                3,
                1,
                System.Windows.Visibility.Visible)
     {
         DashStyle = VisualParameters.GetDefaultDashStyleForMeasurements()
     });
 }
Esempio n. 2
0
 public VisualParameters(string hexFill, string hexStroke, double strokeThickness = 1, double opacity = 1) :
     this(BrushHelper.CreateBrush(hexFill), BrushHelper.CreateBrush(hexStroke), strokeThickness, opacity)
 {
 }