@zeainc/zea-ux
Version:
42 lines • 1.27 kB
TypeScript
import { Color, Lines, Vec3, TreeItem, Xfo } from '@zeainc/zea-engine';
import CreateGeomChange from './CreateGeomChange';
/**
* Class representing a create line change.
*
* **Events**
* * **updated:** Triggered when the change is updated
*
* @extends CreateGeomChange
*/
declare class CreateMultiLineChange extends CreateGeomChange {
line: Lines;
stage: number;
vertices: Vec3[];
/**
* Create a create line change.
*
* @param parentItem - The parentItem value.
* @param xfo - The xfo value.
* @param color - The color value.
* @param thickness - The thickness value.
*/
constructor(parentItem: TreeItem, xfo: Xfo, color: Color);
protected createGeomItem(): void;
addVertex(pt: Vec3): void;
/**
* Updates Line using the specified data.
*
* @param updateData - The updateData param.
*/
update(updateData: Record<any, any>): void;
/**
* Restores line geometry using a JSON object.
*
* @param j - The j param.
* @param context - The context param.
*/
fromJSON(j: Record<any, any>, context: Record<any, any>): void;
}
export default CreateMultiLineChange;
export { CreateMultiLineChange };
//# sourceMappingURL=CreateMultiLineChange.d.ts.map