KeyTriggerTests ZoomCircleWithPageUpPageDown Method Delta Engine Documentation

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

public void ZoomCircleWithPageUpPageDown()
Examples

[Test]
public void ZoomCircleWithPageUpPageDown()
{
    var circle = new Ellipse(Vector2D.Half, 0.25f, 0.25f, Color.Orange);
    new Command(Command.Zoom, zoom =>
        circle.DrawArea = circle.DrawArea.Increase(new Size(zoom / 24.0f))); //ncrunch: no coverage
}
See Also