## IDrawingFactory interface

Represents a factory for creating drawing-related objects.

```csharp
public interface IDrawingFactory : IDisposable
```

## Methods

| Name | Description |
| --- | --- |
| [CreateInterpolationColor](../../aspose.html.drawing/idrawingfactory/createinterpolationcolor/)(*Color, float*) | Creates an interpolation color with the specified color and position. |
| [CreateLinearGradientBrush](../../aspose.html.drawing/idrawingfactory/createlineargradientbrush/)(*RectangleF, IInterpolationColor[]*) | Creates a linear gradient brush with the specified parameters. |
| [CreateMatrix](../../aspose.html.drawing/idrawingfactory/creatematrix/#creatematrix)() | Creates a new identity matrix. |
| [CreateMatrix](../../aspose.html.drawing/idrawingfactory/creatematrix/#creatematrix_1)(*[IMatrix](../imatrix/)*) | Creates a new matrix with the same contents as the specified matrix. |
| [CreateMatrix](../../aspose.html.drawing/idrawingfactory/creatematrix/#creatematrix_2)(*float, float, float, float, float, float*) | Creates a new matrix with the specified elements. |
| [CreateSolidBrush](../../aspose.html.drawing/idrawingfactory/createsolidbrush/)(*Color*) | Creates a solid brush with the specified color. |
| [CreateTextureBrush](../../aspose.html.drawing/idrawingfactory/createtexturebrush/)(*byte[]*) | Creates a texture brush with the specified parameters. |

### See Also

* namespace [Aspose.Html.Drawing](../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../)
