API Reference
@univerjs
@univerjs/engine-render
classes
Path2

@univerjs/engine-render v0.4.2Docs


Class: Path2

Constructors

new Path2()

new Path2(_lines): Path2

Parameters

ParameterTypeDefault value
_linesVector2[]INITIAL_Path2

Returns

Path2

Defined in

submodules/univer/packages/engine-render/src/basics/path2.ts:29 (opens in a new tab)

Methods

intersection()

intersection(lines): Nullable<Vector2[]>

Parameters

ParameterType
linesVector2[]

Returns

Nullable<Vector2[]>

Defined in

submodules/univer/packages/engine-render/src/basics/path2.ts:33 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.