/// <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]); } }
/// <summary> /// Initializes a new instance of the <see cref="LinePointCollection"/> class. /// </summary> /// <param name="value">The value.</param> public LinePointCollection(LinePointCollection value) { AddRange(value); }
/// <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(); }
/// <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(); }
/// <summary> /// Initializes a new instance of the <see cref="Line"/> class. /// </summary> public Line() { points = new LinePointCollection(); }