CommandTests TouchToMoveTheRectangleARound 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 TouchToMoveTheRectangleARound()
Examples

[Test]
public void TouchToMoveTheRectangleARound()
{
    var rect = new FilledRect(new Rectangle(0.4f, 0.4f, 0.2f, 0.2f), Color.Green);
    new Command(Command.Drag, point => { rect.Center = point; });
See Also