# MaskRow struct

Namespace: [Grasshopper2.Imaging.Shaders](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.imaging.shaders.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public struct MaskRow
```

Represents a horizontal scan line segment in sample space.

## Constructors

- [MaskRow](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.maskrow/ctor.md): Create a new line.

## Properties

- [IsEmpty](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.maskrow/isempty.md): Gets whether this row is completely empty. None rows should typically never arise.
- [Length](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.maskrow/length.md): Gets the length of this row.
- [Points](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.maskrow/points.md): Enumerate over all points on the line.
- [X0](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.maskrow/x0.md): First x coordinate on line.
- [X1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.maskrow/x1.md): Last x coordinate on line.
- [Xs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.maskrow/xs.md): Enumerate over all x coordinate on the line.
- [Y](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.maskrow/y.md): Y coordinate of line.
