Rectangle TopRight Property Delta Engine Documentation

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

public Vector2D TopRight { get; }

Property Value

Type: Vector2D
Remarks

Tests: DeltaEngine.Tests.Datatypes.RectangleTests
Examples

1 unit tests call DeltaEngine.Datatypes.Rectangle.TopRight
[Test]
public void TopRight()
{
    var rect = new Rectangle(1, 2, 10, 20);
    Assert.AreEqual(new Vector2D(11, 2), rect.TopRight);
}
See Also