RectangleTests Aspect 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 Aspect()
Examples

[Test]
public void Aspect()
{
    Assert.AreEqual(0.5f, new Rectangle(0, 0, 1, 2).Aspect);
    Assert.AreEqual(2.0f, new Rectangle(0, 0, 4, 2).Aspect);
}
See Also