Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CartographicStroke"/> class.
 /// </summary>
 public CartographicStroke()
 {
     Color = SymbologyGlobal.RandomDarkColor(1);
     Configure();
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new instance of SimpleStroke
 /// </summary>
 public SimpleStroke()
 {
     _color = SymbologyGlobal.RandomDarkColor(1);
     _width = 1;
 }
Beispiel #3
0
 public CartographicStroke(StrokeStyle strokeStyle) : this(SymbologyGlobal.RandomDarkColor(1), strokeStyle)
 {
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CartographicStroke"/> class.
 /// </summary>
 public CartographicStroke() : this(SymbologyGlobal.RandomDarkColor(1))
 {
 }
Beispiel #5
0
 public SimpleStroke(StrokeStyle strokeStyle) : this(1, SymbologyGlobal.RandomDarkColor(1), strokeStyle)
 {
 }
Beispiel #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SimpleStroke"/> class.
 /// </summary>
 /// <param name="width">The double width of the line to set</param>
 public SimpleStroke(double width) : this(width, SymbologyGlobal.RandomDarkColor(1))
 {
 }