# TextureFill

> Fills a shape with a texture.

## Definition

* **Type:** Class
* **Namespace:** [Unity.VectorGraphics](/engine/6000.6/script-reference/unity/vectorgraphics.md)
* **Assembly:** UnityEngine.VectorGraphicsModule
* **Implements:** [IFill](/engine/6000.6/script-reference/unity/vectorgraphics/ifill.md)

```csharp
public class TextureFill : IFill
```

## Remarks

For more information, refer to work with vector graphics.

## Properties

| Property                                                                                     | Description                                              |
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| [Addressing](/engine/6000.6/script-reference/unity/vectorgraphics/texturefill/addressing.md) | The adressing mode (wrap, clamp or mirror) of this fill. |
| [Mode](/engine/6000.6/script-reference/unity/vectorgraphics/texturefill/mode.md)             | The filling method (non-zero or even-odd) of the fill.   |
| [Opacity](/engine/6000.6/script-reference/unity/vectorgraphics/texturefill/opacity.md)       | The opacity of the fill.                                 |
| [Texture](/engine/6000.6/script-reference/unity/vectorgraphics/texturefill/texture.md)       | The texture to fill the shape with.                      |
