# CircleMask class

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 sealed class CircleMask : IShapeMask
```

Represents a fast integer accurate circle shape useful for sampling.

## Properties

- [Geometry](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.circlemask/geometry.md): Gets the geometry of this mask.
- [Radius](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.circlemask/radius.md): Gets the radius of this mask.
- [RowCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.circlemask/rowcount.md): Gets the number of rows in this mask.
- [Rows](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.circlemask/rows.md): Enumerate over all rows in the mask.
- [SampleCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.circlemask/samplecount.md): Gets the area (number of samples) of this mask.
- [Samples](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.circlemask/samples.md): Enumerate over all sample offsets.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.circlemask/item.md): Gets the row at the given index.

## Methods

- [Create](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.shaders.circlemask/create.md): (static) Create a new circle mask.
