@univerjs/engine-render v0.5.0-beta.1Docs


Class: Path2

Constructors

new Path2()

new Path2(_lines): Path2

Parameters

ParameterTypeDefault value
_linesVector2[]INITIAL_Path2

Returns

Path2

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/path2.ts:29

Methods

intersection()

intersection(lines): Nullable<Vector2[]>

Parameters

ParameterType
linesVector2[]

Returns

Nullable<Vector2[]>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/path2.ts:33