Table of Contents

Method Exclude

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Exclude(IEnumerable<StraightLine>, Point, int, Orientation)

Splits or removes all lines in the collection such that none cover the given exclusion area.

public static IEnumerable<StraightLine> Exclude(this IEnumerable<StraightLine> collection, Point start, int length, Orientation orientation)

Parameters

collection IEnumerable<StraightLine>

Lines to adjust

start Point

First point to remove from collection

length int

The number of sequential points to exclude

orientation Orientation

Orientation of the exclusion line

Returns

IEnumerable<StraightLine>