Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CartographicStroke"/> class.
 /// </summary>
 public CartographicStroke()
 {
     Color = SymbologyGlobal.RandomDarkColor(1);
     Configure();
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new instance of SimpleStroke
 /// </summary>
 public SimpleStroke()
 {
     _color = SymbologyGlobal.RandomDarkColor(1);
     _width = 1;
 }
Esempio n. 3
0
 public CartographicStroke(StrokeStyle strokeStyle) : this(SymbologyGlobal.RandomDarkColor(1), strokeStyle)
 {
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CartographicStroke"/> class.
 /// </summary>
 public CartographicStroke() : this(SymbologyGlobal.RandomDarkColor(1))
 {
 }
Esempio n. 5
0
 public SimpleStroke(StrokeStyle strokeStyle) : this(1, SymbologyGlobal.RandomDarkColor(1), strokeStyle)
 {
 }
Esempio n. 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))
 {
 }