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.GetBoundingBoxAfterRotation(System.Single)
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Parameters
- angle
- Type: System Single
Return Value
Type: RectangleRemarks
Examples
[Test] public void RotateBoundingBox() { var boundingBox = new Rectangle(1, 1, 1, 1).GetBoundingBoxAfterRotation(90); Assert.AreEqual(new Rectangle(1, 1, 1, 1), boundingBox); }
See Also