@daign/2d-pipeline
Version:
Two dimensional graphics pipeline.
29 lines (28 loc) • 906 B
TypeScript
import { GenericNode } from './genericNode';
import { PresentationNode } from './presentationNode';
import { TransformCollection } from './transformations';
/**
* Class for nodes in a graphic document.
*/
export declare class GraphicNode extends GenericNode<GraphicNode> {
/**
* The transformation applied to the node.
*/
transformation: TransformCollection;
/**
* The presentation node copies that originated from this graphic node.
*/
presentationNodes: PresentationNode[];
/**
* Constructor.
*/
constructor();
/**
* Add a node to the list of known presentation node copies of this node.
*/
registerPresentationNode(presentationNode: PresentationNode): void;
/**
* Remove a node from the list of known presentation node copies of this node.
*/
removePresentationNode(presentationNode: PresentationNode): void;
}