Beispiel #1
0
 /// <summary>
 /// Adds the range.
 /// </summary>
 /// <param name="value">The value.</param>
 public void AddRange(LinePointCollection value)
 {
     for (int i = 0; (i < value.Count); i = (i + 1))
     {
         Add(value[i]);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinePointCollection"/> class.
 /// </summary>
 /// <param name="value">The value.</param>
 public LinePointCollection(LinePointCollection value)
 {
     AddRange(value);
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Line"/> class.
 /// </summary>
 /// <param name="color">The color.</param>
 public Line(Color color)
 {
     this.color = color;
     points     = new LinePointCollection();
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinePointEnumerator"/> class.
 /// </summary>
 /// <param name="mappings">The mappings.</param>
 public LinePointEnumerator(LinePointCollection mappings)
 {
     temp           = ((IEnumerable)(mappings));
     baseEnumerator = temp.GetEnumerator();
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Line"/> class.
 /// </summary>
 public Line()
 {
     points = new LinePointCollection();
 }