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