# ShapeGradient Interface

> ShapeGradient interface in the TX Sheet Control TypeScript API for Node.js: A shape-fill gradient definition retained by native geometry and shared rendering.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > ShapeGradient Interface
- **320 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapegradient/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapegradient/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapegradient/llms-full.txt

---

A shape-fill gradient definition retained by native geometry and shared rendering.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Members

#### Properties

| Property | Description |
|---|---|
| [angle](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapegradient/angle-property/llms-full.txt) | The angle value of ShapeGradient. |
| [color](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapegradient/color-property/llms-full.txt) | The color value of ShapeGradient. |

### Examples

Pass the ShapeGradient value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
function inspectShapeGradientColor(shapeGradient: { color: string }) {
    const value = shapeGradient['color'];
    console.log('ShapeGradient.color', value);
}
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Pictures and Shapes](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/pictures-shapes/llms-full.txt)

---

## In This Section

- [ShapeGradient.angle Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapegradient/angle-property/llms-full.txt): ShapeGradient.angle property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [ShapeGradient.color Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapegradient/color-property/llms-full.txt): ShapeGradient.color property in the TX Sheet Control TypeScript API for Node.js, with its type string and a TypeScript example.

---

## Nearby

- **Previous:** [ShapeGlow.radius Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapeglow/radius-property/llms-full.txt)
- **Next:** [ShapeGradient.angle Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/shapegradient/angle-property/llms-full.txt)
