@univerjs/engine-render v0.5.4


Class: Path2

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

Constructors

new Path2()

new Path2(_lines): Path2

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

Parameters

ParameterTypeDefault value
_linesVector2[]INITIAL_Path2

Returns

Path2

Methods

intersection()

intersection(lines): Nullable<Vector2[]>

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

Parameters

ParameterType
linesVector2[]

Returns

Nullable<Vector2[]>