Namespace: DeltaEngine.Rendering2D.Shapes.Tests
Assembly: DeltaEngine.Rendering2D.Shapes.Tests (in DeltaEngine.Rendering2D.Shapes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering2D.Shapes.Tests (in DeltaEngine.Rendering2D.Shapes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void MoveLineViaItsEndPoints() { var line = new Line2D(Vector2D.Zero, Vector2D.Zero, Color.Red) { StartPoint = Vector2D.Half, EndPoint = Vector2D.One }; Assert.AreEqual(Vector2D.Half, line.StartPoint); Assert.AreEqual(Vector2D.One, line.EndPoint); }
See Also