> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IPublisherBackgroundStyleV2

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/publisher/v2/style.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
export interface IPublisherBackgroundStyleV2 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [backgroundColor?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundcolor) |  | [PublisherColorValueV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publishercolorvaluev2/index.md) | **_(ALPHA)_** _(Optional)_ |
| [backgroundFit?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundfit) |  | "cover" \| "contain" \| "fill" \| "tile" | **_(ALPHA)_** _(Optional)_ Defaults to `cover`. |
| [backgroundHorizontalAlign?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundhorizontalalign) |  | [PublisherHorizontalAlignV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherhorizontalalignv2/index.md) | **_(ALPHA)_** _(Optional)_ |
| [backgroundImage?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundimage) |  | [PublisherImageSourceV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherimagesourcev2/index.md) | **_(ALPHA)_** _(Optional)_ |
| [backgroundImageOpacity?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundimageopacity) |  | [PublisherOpacityV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisheropacityv2/index.md) | **_(ALPHA)_** _(Optional)_ |
| [backgroundOffset?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundoffset) |  | [PublisherPxV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherpxv2/index.md) | **_(ALPHA)_** _(Optional)_ |
| [backgroundOffsetBottom?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundoffsetbottom) |  | [PublisherPxV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherpxv2/index.md) | **_(ALPHA)_** _(Optional)_ |
| [backgroundOffsetLeft?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundoffsetleft) |  | [PublisherPxV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherpxv2/index.md) | **_(ALPHA)_** _(Optional)_ |
| [backgroundOffsetRight?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundoffsetright) |  | [PublisherPxV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherpxv2/index.md) | **_(ALPHA)_** _(Optional)_ |
| [backgroundOffsetTop?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundoffsettop) |  | [PublisherPxV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherpxv2/index.md) | **_(ALPHA)_** _(Optional)_ |
| [backgroundOpacity?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundopacity) |  | [PublisherOpacityV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisheropacityv2/index.md) | **_(ALPHA)_** _(Optional)_ Opacity of the background color only. |
| [backgroundVerticalAlign?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherbackgroundstylev2/index.md#ipublisherbackgroundstylev2backgroundverticalalign) |  | [PublisherVerticalAlignV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherverticalalignv2/index.md) | **_(ALPHA)_** _(Optional)_ |

## Property details

### IPublisherBackgroundStyleV2.backgroundColor

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
backgroundColor?: PublisherColorValueV2;
```

### IPublisherBackgroundStyleV2.backgroundFit

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Defaults to `cover`.

**Signature:**

```typescript
backgroundFit?: "cover" | "contain" | "fill" | "tile";
```

### IPublisherBackgroundStyleV2.backgroundHorizontalAlign

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
backgroundHorizontalAlign?: PublisherHorizontalAlignV2;
```

### IPublisherBackgroundStyleV2.backgroundImage

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
backgroundImage?: PublisherImageSourceV2;
```

### IPublisherBackgroundStyleV2.backgroundImageOpacity

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
backgroundImageOpacity?: PublisherOpacityV2;
```

### IPublisherBackgroundStyleV2.backgroundOffset

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
backgroundOffset?: PublisherPxV2;
```

### IPublisherBackgroundStyleV2.backgroundOffsetBottom

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
backgroundOffsetBottom?: PublisherPxV2;
```

### IPublisherBackgroundStyleV2.backgroundOffsetLeft

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
backgroundOffsetLeft?: PublisherPxV2;
```

### IPublisherBackgroundStyleV2.backgroundOffsetRight

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
backgroundOffsetRight?: PublisherPxV2;
```

### IPublisherBackgroundStyleV2.backgroundOffsetTop

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
backgroundOffsetTop?: PublisherPxV2;
```

### IPublisherBackgroundStyleV2.backgroundOpacity

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Opacity of the background color only.

**Signature:**

```typescript
backgroundOpacity?: PublisherOpacityV2;
```

### IPublisherBackgroundStyleV2.backgroundVerticalAlign

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
backgroundVerticalAlign?: PublisherVerticalAlignV2;
```
