---
title: "GradientTexture | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias GradientTexture

type GradientTexture \= {  
    [gradient](#gradient)?: [RGBAImage](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.RGBAImage/);  
    [texture](#texture)?: [Texture](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.Texture/);  
    [version](#version)?: number;  
}

##### Index

### Properties[](#properties)

[gradient?](#gradient) [texture?](#texture) [version?](#version)

## Properties[](#properties-1)

### `Optional`gradient[](#gradient)

gradient?: [RGBAImage](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.RGBAImage/)

### `Optional`texture[](#texture)

texture?: [Texture](https://docs.maptiler.com/sdk-js/api-reference/classes/Externals.Texture/)

### `Optional`version[](#version)

version?: number
