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

[Test]
public void RotateRectangleWithMouse()
{
    var rect = new FilledRect(new Rectangle(0.4f, 0.4f, 0.2f, 0.2f), Color.Green);
    new Command(Command.RotateDirectly, delegate(Vector2D point) { rect.Rotation += 1; });
See Also