跳转到内容

buildPathGeometry

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

buildPathGeometry(points, style): MeshRendererGeometry

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

The geometry of a path: its fill, then its stroke on top, as one mesh in the path’s own coordinates. An empty result (fewer than the points a shape needs) is a mesh with nothing in it, which draws nothing.

readonly Vec2[]

PathStyle

MeshRendererGeometry