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 ChangeOutlineColor() { var polygon = new Polygon2D(Rectangle.One, Color.Red); polygon.Add(new OutlineColor(Color.Blue)); Assert.AreEqual(Color.Blue, polygon.Get<OutlineColor>().Value); }
See Also