<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/effect](./effect.md) &gt; [PathGeometry](./effect.pathgeometry.md) &gt; [endColor](./effect.pathgeometry.endcolor.md)

## PathGeometry.endColor property

终点处的颜色

**Signature:**

```typescript
get endColor(): ColorRepresentation | null;

set endColor(value: ColorRepresentation | null);
```

## Remarks

用于生成路径的从开始颜色到结束颜色的过渡颜色

