Namespace: DeltaEngine.Scenes.Tests.Controls
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Scenes.Tests (in DeltaEngine.Scenes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void NoRightMargin() { anchoring.LeftMargin = new Margin(Edge.Left, 0.02f); anchoring.TopMargin = new Margin(Edge.Top, 0.04f); anchoring.BottomMargin = new Margin(Edge.Bottom, 0.06f); AssertNearlyEqual(new Rectangle(0.02f, 0.2587f, 0.3469f, 0.4625f), anchoring.CalculateDrawArea(control)); }
See Also