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

# v1.ReportBackgroundImage2

- Package: [@gooddata/sdk-code-schemas](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-code-schemas/src/v1/metadata.ts

The image a box paints behind its content. It is drawn from a slot of its own, which is what keeps a backdrop fillable and gives it placeholder metadata, so it is written down with an id - or it names an image another box on the page already wrote down.

**Signature:**

```typescript
export interface ReportBackgroundImage2 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [alt\_text?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.reportbackgroundimage2/index.md#v1reportbackgroundimage2alt_text) |  | string | _(Optional)_ |
| [asset?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.reportbackgroundimage2/index.md#v1reportbackgroundimage2asset) |  | [Id49](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.id49/index.md) | _(Optional)_ |
| [fit?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.reportbackgroundimage2/index.md#v1reportbackgroundimage2fit) |  | "contain" \| "cover" \| "fill" | _(Optional)_ How the image fills its area: kept whole inside it, filling it and cropped to do so, or stretched to its shape. Defaults to contain. |
| [id](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.reportbackgroundimage2/index.md#v1reportbackgroundimage2id) |  | [Id48](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.id48/index.md) |  |
| [placeholder?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.reportbackgroundimage2/index.md#v1reportbackgroundimage2placeholder) |  | [ReportSlotPlaceholder](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.reportslotplaceholder/index.md) | _(Optional)_ |
| [style?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.reportbackgroundimage2/index.md#v1reportbackgroundimage2style) |  | [ReportImageStyle](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.reportimagestyle/index.md) | _(Optional)_ |
| [url?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-schemas/sdk-code-schemas.v1.reportbackgroundimage2/index.md#v1reportbackgroundimage2url) |  | string | _(Optional)_ Image URL, supporting {variables} - a logo uses {logo}. Mutually exclusive with asset. |

## Property details

### v1.ReportBackgroundImage2.alt_text

**Signature:**

```typescript
alt_text?: string;
```

### v1.ReportBackgroundImage2.asset

**Signature:**

```typescript
asset?: Id49;
```

### v1.ReportBackgroundImage2.fit

How the image fills its area: kept whole inside it, filling it and cropped to do so, or stretched to its shape. Defaults to contain.

**Signature:**

```typescript
fit?: "contain" | "cover" | "fill";
```

### v1.ReportBackgroundImage2.id

**Signature:**

```typescript
id: Id48;
```

### v1.ReportBackgroundImage2.placeholder

**Signature:**

```typescript
placeholder?: ReportSlotPlaceholder;
```

### v1.ReportBackgroundImage2.style

**Signature:**

```typescript
style?: ReportImageStyle;
```

### v1.ReportBackgroundImage2.url

Image URL, supporting {variables} - a logo uses {logo}. Mutually exclusive with asset.

**Signature:**

```typescript
url?: string;
```
