FarseerPhysics.Samples.DrawingSystem.LineBatch.End C# (CSharp) Method

End() public method

public End ( ) : void
return void
        public void End()
        {
            if (!_hasBegun)
                throw new InvalidOperationException("Begin must be called before End can be called.");

            // Draw whatever the user wanted us to draw
            Flush();

            _hasBegun = false;
        }