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

# Class LinearColorDrawer

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

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

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

```csharp title="Syntax"
public class LinearColorDrawer : IColorDrawer
```

## Implements

* [Aurigma.DesignAtoms.ImageProcessing.Services.IColorDrawer](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Services/IColorDrawer.md)

## 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

### LinearColorDrawer

```csharp
public LinearColorDrawer()
```

## Methods

### Draw

```csharp
public Stream Draw(List<Color> colors, int width, int height, int maxStripes, string format, DrawingOrientation orientation)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Collections.Generic.List<Aurigma.GraphicsMill.Color>` | *colors* |  |
| `System.Int32` | *width* |  |
| `System.Int32` | *height* |  |
| `System.Int32` | *maxStripes* |  |
| `System.String` | *format* |  |
| [Aurigma.DesignAtoms.ImageProcessing.Enums.DrawingOrientation](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Enums/DrawingOrientation.md) | *orientation* |  |

##### Returns

`System.IO.Stream`
