Class LineSeriesPointCollection
A Collection of LineSeriesPoints
Assembly: MicroLayout.dll
View Source
public class LineSeriesPointCollection : IEnumerable<LineSeriesPoint>, IEnumerable
Implements:
System.Collections.Generic.IEnumerable<Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint>
, System.Collections.IEnumerable
Properties
MinX
Gets the minimum X value in the collection
View Source
public double MinX { get; }
MinY
Gets the minimum Y value in the collection
View Source
public double MinY { get; }
MaxX
Gets the maximum X value in the collection
View Source
public double MaxX { get; }
MaxY
Gets the maximum Y value in the collection
View Source
public double MaxY { get; }
Count
Gets the number of points in the collection
View Source
public int Count { get; }
this[int]
View Source
public LineSeriesPoint this[int index] { get; }
Methods
Add(double, double)
Adds a point to the collection
View Source
public void Add(double x, double y)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The point's X value |
System.Double | y | The point's Y value |
Add(params LineSeriesPoint[])
Adds a series of points to the collection
View Source
public void Add(params LineSeriesPoint[] points)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint[] | points | The point to add |
Add(IEnumerable<LineSeriesPoint>)
Adds a series of points to the collection
View Source
public void Add(IEnumerable<LineSeriesPoint> points)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint> | points | The points to add |
Remove(LineSeriesPoint)
Removes a point to the collection
View Source
public void Remove(LineSeriesPoint point)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint | point | The point to remove |
Remove(params LineSeriesPoint[])
Removes a point to the collection
View Source
public void Remove(params LineSeriesPoint[] points)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint[] | points | The points to remove |
Clear(int)
Removes all points to the collection
View Source
public void Clear(int capacity = 10)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | capacity | Sets the total number of elements the collection can contain without resizing |
GetEnumerator()
Returns an enumerator that iterates through the collection.
View Source
public IEnumerator<LineSeriesPoint> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint>
: An enumerator that can be used to iterate through the collection.
Implements
System.Collections.Generic.IEnumerable<Meadow.Foundation.Graphics.MicroLayout.LineSeriesPoint>
System.Collections.IEnumerable