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)); }
public static VisualParameters GetDefaultForDrawingItems() { return(new VisualParameters(null, BrushHelper.PickGoodBrush(), 2, 1)); }