Namespace: DeltaEngine.Datatypes
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Tests.Datatypes.RectangleTests
1 unit tests call DeltaEngine.Datatypes.Rectangle.Increase(DeltaEngine.Datatypes.Size)
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- size
- Type: DeltaEngine.Datatypes Size
Return Value
Type: RectangleRemarks
Examples
[Test] public void Increase() { var rect = new Rectangle(1, 1, 2, 2); Assert.AreEqual(new Rectangle(0.9f, 0.9f, 2.2f, 2.2f), rect.Increase(new Size(0.2f))); }
See Also