# BackgroundPosition

> Initialize from single position type

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## BackgroundPosition(BackgroundPositionKeyword)

Initialize from single position type

```csharp
public BackgroundPosition(BackgroundPositionKeyword keyword)
```

### Parameters

**** (\[BackgroundPositionKeyword]\(/engine/6000.6/script-reference/unityengine/uielements/backgroundpositionkeyword)):&#x20;

## BackgroundPosition(BackgroundPositionKeyword, Length)

Initialize from x position type with x offset

```csharp
public BackgroundPosition(BackgroundPositionKeyword keyword, Length offset)
```

### Parameters

**** (\[BackgroundPositionKeyword]\(/engine/6000.6/script-reference/unityengine/uielements/backgroundpositionkeyword)): **** (\[Length]\(/engine/6000.6/script-reference/unityengine/uielements/length)):&#x20;
