@zeainc/zea-ux
Version:
40 lines • 1.21 kB
TypeScript
import { Color, Lines, 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 CreateLineChange extends CreateGeomChange {
thickness: number;
line: Lines;
/**
* 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, thickness?: number);
protected createGeomItem(): 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 CreateLineChange;
export { CreateLineChange };
//# sourceMappingURL=CreateLineChange.d.ts.map