Table of Contents

Class Line

Namespace
NonoSharp
Assembly
NonoSharp.dll

A line of a Nonogram puzzle.

public class Line : IEnumerable<CellType>, IEnumerable
Inheritance
Line
Implements
Inherited Members

Properties

Clues

The Clues of the line.

public Clues Clues { get; }

Property Value

Clues

this[int]

Gets or sets the CellType of the cell at the specified index in this line.

public CellType this[int index] { get; set; }

Parameters

index int

Index to get/set.

Property Value

CellType

The CellType at index.

Length

The total amount of cells this line has.

public int Length { get; }

Property Value

int

Position

The index of this line on the associated nonogram grid.

public int Position { get; }

Property Value

int

Type

The type of this line.

public LineType Type { get; }

Property Value

LineType

Methods

GetEnumerator()

Gets the enumerator over the cells in this line.

public IEnumerator<CellType> GetEnumerator()

Returns

IEnumerator<CellType>