Namespace: DeltaEngine.Rendering2D.Graphs.Tests
Assembly: DeltaEngine.Rendering2D.Graphs.Tests (in DeltaEngine.Rendering2D.Graphs.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering2D.Graphs.Tests (in DeltaEngine.Rendering2D.Graphs.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void RenderFpsWithFivePercentiles() { graph.Viewport = new Rectangle(0.0f, 0.0f, 10.0f, 60.0f); graph.NumberOfPercentiles = 5; graph.PercentileSuffix = "%"; GraphLine line = graph.CreateLine("", LineColor); var fps = new FontText(Font.Default, "", new Rectangle(0.5f, 0.7f, 1.0f, 0.1f)); graph.Add(line); graph.Add(fps); graph.Start<AddValueEveryFrame>(); }
See Also