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 ChangeColor() { var line = new Line2D(Vector2D.Zero, Vector2D.One, Color.Red) { Color = Color.Green }; Assert.AreEqual(Color.Green, line.Color); Assert.AreEqual(Color.Green, line.Get<Color>()); }
See Also