# Motif class

Namespace: [Grasshopper2.Eto.Drawing](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.eto.drawing.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class Motif
```

Describes a single hatch fill. It pays to re-use a Hatch instance as often as possible, since it caches hatch textures.

## Constructors

- [Motif](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.motif/ctor.md): (2 overloads) Create a new hatch motif.

## Fields

- [Scale](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.motif/scale.md): (static) Gets the scale at which hatch motif textures are normally drawn.

## Properties

- [Background](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.motif/background.md): Gets the background colour of this motif.
- [Flavour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.motif/flavour.md): Gets the flavour of this motif.
- [Foreground](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.motif/foreground.md): Gets the foreground colour of this motif.
- [Strength](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.motif/strength.md): Gets the strength of this motif. Any value less than or equal to zero implies a motif made up entirely out of background, and any value larger than or equal to one implies a motif made up entirely out of foreground.
- [Texture](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.motif/texture.md): The cached texture for this motif, do not modify this bitmap unless you know what you are doing.
