MaskRow

References
public struct MaskRow
Represents a horizontal scan line segment in sample space.

Constructors

MaskRow

#
Create a new line.
public MaskRow(
y,
x0,
x1
)

Properties

IsEmpty

#
Gets whether this row is completely empty. None rows should typically never arise.
public bool IsEmpty { get; }

Length

#
Gets the length of this row.
public int Length { get; }

Points

#
Enumerate over all points on the line.
public IEnumerable<Point> Points { get; }

X0

#
First x coordinate on line.
public int X0 { get; }

X1

#
Last x coordinate on line.
public int X1 { get; }

Xs

#
Enumerate over all x coordinate on the line.
public IEnumerable<int> Xs { get; }

Y

#
Y coordinate of line.
public int Y { get; }