---
title: "Class GrayscalePixel | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.ColorGradient.Model/GrayscalePixel/"
---

# Class GrayscalePixel

> **Inheritance:** `System.Object` -> GrayscalePixel

###### **Namespace**: [Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.ColorGradient.Model](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.ColorGradient.Model.md)

###### **Assembly**: Aurigma.DesignAtoms.ImageProcessing.dll

```csharp title="Syntax"
public class GrayscalePixel
```

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### GrayscalePixel

```csharp
public GrayscalePixel(byte luminosity, byte alpha)
```

## Properties

### Luminosity

```csharp
public byte Luminosity { get; }
```

### Alpha

```csharp
public byte Alpha { get; }
```
