DrawingTests ShowYellowLineFullscreen Method Delta Engine Documentation

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

public void ShowYellowLineFullscreen()
Examples

[Test, ApproveFirstFrameScreenshot]
public void ShowYellowLineFullscreen()
{
    var settings = Resolve<Settings>();
    settings.StartInFullscreen = true;
    settings.Resolution = new Size(1920, 1080);
    new Line(Vector2D.Zero, settings.Resolution, Color.Yellow);
    settings.StartInFullscreen = false;
    settings.Resolution = Settings.DefaultResolution;
}
See Also