Namespace: DeltaEngine.Input.Tests
Assembly: DeltaEngine.Input.Tests (in DeltaEngine.Input.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Input.Tests (in DeltaEngine.Input.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, Ignore] public void ZoomOnLines() { var line1 = new Line2D(new List<Vector2D> { new Vector2D(0.4f, 0.4f), new Vector2D(0.6f, 0.4f), new Vector2D(0.4f, 0.6f), new Vector2D(0.6f, 0.6f), new Vector2D(0.4f, 0.5f), new Vector2D(0.5f, 0.5f) }, Color.Red); new Command("Zoom", zoomAmount => ZoomLinePoints(line1.Points, zoomAmount)); }
See Also