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 RenderingPolygonWithNoPointsDoesNotError() { var ellipse = new Ellipse(Vector2D.Half, 0.4f, 0.2f, Color.Blue); var points = ellipse.Get<List<Vector2D>>(); points.Clear(); ellipse.Remove<Ellipse.UpdatePointsIfRadiusChanges>(); ellipse.Add(new OutlineColor(Color.Red)); ellipse.OnDraw<DrawPolygon2DOutlines>(); }
See Also