跳到主要内容

flywave-draw-controls.drawline.updatevertex

Home > @flywave/flywave-draw-controls > DrawLine > updateVertex

DrawLine.updateVertex() method​

Update vertex position

Signature:

updateVertex(index: number, newVertex: GeoCoordinates): void;

Parameters​

Parameter

Type

Description

index

number

Vertex index

newVertex

GeoCoordinates

New vertex coordinates

Returns:



void