Esempio n. 1
0
        public static VisualParameters CreateNew(double opacity = 1, double strokeThickness = 1, bool withoutFill = false)
        {
            Brush fill = null;

            if (!withoutFill)
            {
                fill = BrushHelper.PickGoodBrush();
            }

            return(new VisualParameters(fill, BrushHelper.PickBrush(), strokeThickness, opacity));
        }
 public static VisualParameters GetRandomVisualParameters()
 {
     return(new VisualParameters(null, BrushHelper.PickGoodBrush(), 4, 1));
 }
Esempio n. 3
0
 public static VisualParameters GetDefaultForDrawingItems()
 {
     return(new VisualParameters(null, BrushHelper.PickGoodBrush(), 2, 1));
 }