PictureTests DrawLoadedPicture 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 DrawLoadedPicture()
Examples

[Test]
public void DrawLoadedPicture()
{
    picture.IsActive = false;
    picture = new Picture(new Theme(), material, Rectangle.HalfCentered);
    var stream = BinaryDataExtensions.SaveToMemoryStream(picture);
    picture.IsActive = false;
    stream.CreateFromMemoryStream();
}
See Also