flywave-draw-controls.drawline
Home > @flywave/flywave-draw-controls > DrawLine
DrawLine class
Signature:
export declare class DrawLine extends DrawableObject
Extends: DrawableObject
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| number | ||
| Line2 | ||
| number | ||
| THREE.Object3D | ||
| Line2 | null | ||
|
Methods
Method | Modifiers | Description |
|---|---|---|
| Create line material | |
| Create outline material | |
| Create outline object | |
| Create vertex visualization point object | |
| Create vertex visualization points | |
Dispose line resources | ||
Get the center point coordinates of the line | ||
Get vertex visualization points array | ||
Get vertex selection state | ||
Move the entire line to a new position | ||
Set vertex selection state | ||
Set line vertices | ||
Convert to GeoJSON format | ||
Update line display | ||
Update vertex position | ||
| Update line visual effects |