GraphTests ChangeOrigin Method Delta Engine Documentation

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

public void ChangeOrigin()
Examples

[Test, CloseAfterFirstFrame]
public void ChangeOrigin()
{
    Assert.AreEqual(Vector2D.Zero, graph.Origin);
    graph.Origin = Origin;
    graph.Origin = Origin;
    Assert.AreEqual(Origin, graph.Origin);
}
See Also