RelativeScreenSpace Bottom Property Delta Engine Documentation

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

public override float Bottom { get; }

Property Value

Type: Single
Remarks

Tests: DeltaEngine.Tests.ScreenSpaces.RelativeScreenSpaceTests
Examples

1 unit tests call DeltaEngine.ScreenSpaces.RelativeScreenSpace.Bottom
[Test]
public void NonSquareWindowWithRelativeSpace()
{
    window.ViewportPixelSize = new Size(100, 75);
    var screen = new RelativeScreenSpace(window);
    Assert.AreEqual(0.0f, screen.Left);
    Assert.AreEqual(0.0f, screen.Top);
    Assert.AreEqual(1.0f, screen.Right);
    Assert.AreEqual(1.0f, screen.Bottom);
}
See Also