PanelDemo1 DisplayScalingPanel Method Delta Engine Documentation

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

public void DisplayScalingPanel()
Examples

[Test]
public void DisplayScalingPanel()
{
    panel = new ScalingPanel(Color.PaleGreen, Color.Blue, new Rectangle(0.2f, 0.3f, 0.5f, 0.4f));
    new Command(BeginDrag).Add(new MouseButtonTrigger());
    new Command(Drag).Add(new MouseDragTrigger());
}
See Also