AnchoringTests PercentHintLandscapeImageLandscapeScreen Method Delta Engine Documentation

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

public void PercentHintLandscapeImageLandscapeScreen()
Examples

[Test, CloseAfterFirstFrame]
public void PercentHintLandscapeImageLandscapeScreen()
{
    anchoring.PercentageSpan = 0.4f;
    AssertNearlyEqual(new Rectangle(0.365f, 0.3875f, 0.27f, 0.225f),
        anchoring.CalculateDrawArea(landscapeControl));
}
See Also