RectangleTests RotateBoundingBox Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Datatypes
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void RotateBoundingBox()
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