SpriteTests RenderSpriteWithRedOutline Method Delta Engine Documentation

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

public void RenderSpriteWithRedOutline()
Examples

[Test, ApproveFirstFrameScreenshot]
public void RenderSpriteWithRedOutline()
{
    var sprite = new Sprite(logoMaterial, Rectangle.HalfCentered);
    sprite.Add(new OutlineColor(Color.Red));
    sprite.OnDraw<DrawPolygon2DOutlines>();
}
See Also