AnchoringTests PercentHintPortraitImageLandscapeScreen 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 PercentHintPortraitImageLandscapeScreen()
Examples

[Test, CloseAfterFirstFrame]
public void PercentHintPortraitImageLandscapeScreen()
{
    anchoring.PercentageSpan = 0.4f;
    AssertNearlyEqual(new Rectangle(0.41f, 0.3875f, 0.18f, 0.225f),
        anchoring.CalculateDrawArea(portraitControl));
}
See Also