diva.canvas
Class CanvasDebugUtilities

java.lang.Object
  extended by diva.canvas.CanvasDebugUtilities

public final class CanvasDebugUtilities
extends java.lang.Object

A collection of canvas utilities. These utilities perform useful functions related to the structural aspects of diva.canvas that do not properly belong in any one class. Some of them perform utility geometric functions that are not available in the Java 2D API, while others accept iterators over Figures or Shapes and compute a useful composite result.

Version:
$Id: CanvasDebugUtilities.java 47564 2007-12-16 07:30:21Z cxh $
Author:
John Reekie
Accepted Rating:
Red

Constructor Summary
CanvasDebugUtilities()
           
 
Method Summary
static java.lang.String printContextTree(FigureLayer rootLayer)
           
private static java.lang.String printHelper(Figure root, java.lang.String prefix, TransformContext parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CanvasDebugUtilities

public CanvasDebugUtilities()
Method Detail

printContextTree

public static java.lang.String printContextTree(FigureLayer rootLayer)

printHelper

private static java.lang.String printHelper(Figure root,
                                            java.lang.String prefix,
                                            TransformContext parent)