InputCommandsTests ZoomOnLines 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 ZoomOnLines()
Examples

[Test, Ignore]
public void ZoomOnLines()
{
    var line1 = new Line2D(new List<Vector2D>
    {
        new Vector2D(0.4f, 0.4f),
        new Vector2D(0.6f, 0.4f),
        new Vector2D(0.4f, 0.6f),
        new Vector2D(0.6f, 0.6f),
        new Vector2D(0.4f, 0.5f),
        new Vector2D(0.5f, 0.5f)
    }, Color.Red);
    new Command("Zoom", zoomAmount => ZoomLinePoints(line1.Points, zoomAmount));
}
See Also