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
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
indexintIndex to get/set.
Property Value
- CellType
The
CellTypeatindex.
Length
The total amount of cells this line has.
public int Length { get; }
Property Value
Position
The index of this line on the associated nonogram grid.
public int Position { get; }
Property Value
Type
The type of this line.
public LineType Type { get; }
Property Value
Methods
GetEnumerator()
Gets the enumerator over the cells in this line.
public IEnumerator<CellType> GetEnumerator()