Grid2DTests InactivatingInactivatesLines 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 InactivatingInactivatesLines()
Examples

[Test, CloseAfterFirstFrame]
public void InactivatingInactivatesLines()
{
    var grid = new Grid2D(new Size(2), Vector2D.Half);
    grid.IsActive = false;
    foreach (var line in grid.lines)
        Assert.IsFalse(line.IsActive);
}
See Also