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] public void RenderRectAndLine() { var drawArea = new Rectangle(0.3f, 0.3f, 0.4f, 0.4f); var rect = new FilledRect(drawArea, Color.Red); var line = new Line2D(drawArea, Color.Yellow) { RenderLayer = 1 }; new Command(Command.Drag, position => rect.Center = line.Center = position); }
See Also