]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/IG2DNode.java
Support SVG generation from scenegraph
[simantics/platform.git] / bundles / org.simantics.scenegraph / src / org / simantics / scenegraph / g2d / IG2DNode.java
index 0afebc2db387857a305a8458001755c28766e973..e181d59ff02d45305da28dbbac3cb7802be5b002 100644 (file)
@@ -71,6 +71,14 @@ public interface IG2DNode extends INode, IEventHandler {
      */
     public void render(Graphics2D g2d);
 
+    /**
+     * Visit the IG2DNode substructure of this node using the provided visitor.
+     * 
+     * @param visitor the visitor to use
+     * @since 1.29.0
+     */
+    public void accept(IG2DNodeVisitor visitor);
+
     /**
      * Mark the scene graph to be repainted in its current rendering context (UI
      * component) as soon as is appropriate for the backend system.