ButtonTests RenderButtonWithRelativePosition 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 RenderButtonWithRelativePosition()
Examples

[Test, ApproveFirstFrameScreenshot]
public void RenderButtonWithRelativePosition()
{
    button.Add(new List<FontText>
    {
        new FontText(Font.Default, "", new Rectangle(0.4f, 0.7f, 0.2f, 0.1f))
    });
    button.Start<UpdateTextWithRelativePosition>();
}
See Also