Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Datatypes.RectangleTests
2 unit tests call DeltaEngine.Datatypes.Rectangle.Left
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: SingleRemarks
Examples
[Test] public void ChangeValues() { var rect = Rectangle.One; rect.Left = 2; rect.Top = 1; rect.Width = 2; rect.Height = 3; Assert.AreEqual(new Rectangle(2, 1, 2, 3), rect); }
[Test] public void BottomLeft() { var rect = new Rectangle(1, 2, 10, 20); Assert.AreEqual(new Vector2D(1, 22), rect.BottomLeft); }
See Also