25 public void DrawGraph(SKCanvas Canvas, SKPoint[] Points,
object[] Parameters, SKPoint[] PrevPoints,
object[] PrevParameters,
36 Style = SKPaintStyle.Fill,
41 foreach (SKPoint Point
in Points)
52 if (PrevPoints is
null)
70 PrevPoints[0].X = Points[0].X;
71 PrevPoints[1].X = Points[Points.Length - 1].X;
75 int i = PrevPoints.Length;
78 Path.LineTo(PrevPoints[i]);
80 Path.LineTo(Points[0]);
82 Canvas.DrawPath(Path, Brush);
Base class for all types of groups.
abstract IGroupElement AdditiveIdentity
Returns the additive identity of the group.
Base class for all types of sets.
Contains information about the current drawing area.
SKPoint[] Scale(IVector VectorX, IVector VectorY)
Scales two vectors of equal size to points in a rectangular area.
IElement MinX
Smallest value of X.
IElement MaxX
Largest value of X.
IElement MinY
Smallest value of Y.
Plots a two-dimensional stacked area chart. https://en.wikipedia.org/wiki/Area_chart
void DrawGraph(SKCanvas Canvas, SKPoint[] Points, object[] Parameters, SKPoint[] PrevPoints, object[] PrevParameters, DrawingArea DrawingArea)
Draws the graph on a canvas.
Painters for single-color graphs
static SKColor ToColor(object Object)
Converts an object to a color.
static IElement Encapsulate(Array Elements, bool CanEncapsulateAsMatrix, ScriptNode Node)
Encapsulates the elements of a vector.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
ISet AssociatedSet
Associated Set.
Basic interface for vectors.
Basic interface for all types of groups.
Basic interface for all types of sets.
Interface for 2D graph drawing functions.