跳转到内容

PathStyle

此内容尚不支持你的语言。

Defined in: sdk/src/render/vectorPath.ts:45

optional arcStep?: number

Defined in: sdk/src/render/vectorPath.ts:53

How finely a round join or cap is cut, as the angle one slice may turn through, in radians. Default 0.25.


optional closed?: boolean

Defined in: sdk/src/render/vectorPath.ts:49

The outline joins its last point back to its first: a stroke has no caps, a fill needs it either way. Default false.


optional feather?: number

Defined in: sdk/src/render/vectorPath.ts:51

Width of a fade to transparent along every outer edge, in the units of the points: anti-aliasing for a surface drawn without multisampling. 0 (default) draws hard edges.


optional fill?: PathFill

Defined in: sdk/src/render/vectorPath.ts:46


optional stroke?: PathStroke

Defined in: sdk/src/render/vectorPath.ts:47