Namespace: DeltaEngine.Rendering2D.Graphs
Assembly: DeltaEngine.Rendering2D.Graphs (in DeltaEngine.Rendering2D.Graphs.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering2D.Graphs.Tests.GraphLineTests
1 unit tests call DeltaEngine.Rendering2D.Graphs.GraphLine.AddValue(System.Single)
Assembly: DeltaEngine.Rendering2D.Graphs (in DeltaEngine.Rendering2D.Graphs.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- value
- Type: System Single
Remarks
Examples
[Test, CloseAfterFirstFrame] public void AddValueAddsToTheEnd() { GraphLine line = CreateLineWithTwoPoints(); line.AddValue(0.4f, 4.0f); Assert.AreEqual(new Vector2D(1.0f, 4.0f), line.points[2]); line.AddValue(3.0f); Assert.AreEqual(new Vector2D(2.0f, 3.0f), line.points[3]); }
See Also