Line2DTests RenderLineAndSprite Method Delta Engine Documentation

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

public void RenderLineAndSprite()
Examples

[Test]
public void RenderLineAndSprite()
{
    new Line2D(Vector2D.Zero, Vector2D.One, Color.Red);
    new Sprite(new Material(ShaderFlags.Position2DTextured, "DeltaEngineLogo"),
        Rectangle.FromCenter(Vector2D.Half, new Size(0.1f)));
}
See Also