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.GraphTests
2 unit tests call DeltaEngine.Rendering2D.Graphs.Graph.Origin
Assembly: DeltaEngine.Rendering2D.Graphs (in DeltaEngine.Rendering2D.Graphs.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: Vector2DRemarks
Examples
[Test, CloseAfterFirstFrame] public void ChangeOrigin() { Assert.AreEqual(Vector2D.Zero, graph.Origin); graph.Origin = Origin; graph.Origin = Origin; Assert.AreEqual(Origin, graph.Origin); }
[Test, CloseAfterFirstFrame] public void RenderGraphIncludingKey() { graph.CreateLine("key", LineColor); graph.KeyVisibility = true; graph.RefreshKey(); graph.KeyVisibility = true; graph.PercentileLabelsIsVisible = false; graph.PercentilesIsVisible = false; graph.Origin = graph.Origin; AdvanceTimeAndUpdateEntities(); }
See Also