# StyleBackgroundPosition

> Creates a new StyleBackgroundPosition from either a BackgroundPosition or a StyleKeyword.

## Definition

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

## StyleBackgroundPosition(BackgroundPosition)

Creates a new StyleBackgroundPosition from either a [BackgroundPosition](/engine/6000.0/script-reference/unityengine/uielements/backgroundposition.md) or a [StyleKeyword](/engine/6000.0/script-reference/unityengine/uielements/stylekeyword.md).

```csharp
public StyleBackgroundPosition(BackgroundPosition v)
```

### Parameters

**** (\[BackgroundPosition]\(/engine/6000.0/script-reference/unityengine/uielements/backgroundposition)):&#x20;

## StyleBackgroundPosition(StyleKeyword)

Creates a new StyleBackgroundPosition from either a [BackgroundPosition](/engine/6000.0/script-reference/unityengine/uielements/backgroundposition.md) or a [StyleKeyword](/engine/6000.0/script-reference/unityengine/uielements/stylekeyword.md).

```csharp
public StyleBackgroundPosition(StyleKeyword keyword)
```

### Parameters

**** (\[StyleKeyword]\(/engine/6000.0/script-reference/unityengine/uielements/stylekeyword)):&#x20;
