<!-- 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; [startColor](./effect.pathgeometry.startcolor.md)

## PathGeometry.startColor property

线开始处的颜色

**Signature:**

```typescript
get startColor(): ColorRepresentation | null;

set startColor(value: ColorRepresentation | null);
```

## Remarks

用于生成路径的从开始颜色到结束颜色的过渡颜色

