de.intarsys.tools.geometry
Class ShapeTools

java.lang.Object
  extended by de.intarsys.tools.geometry.ShapeTools

public class ShapeTools
extends java.lang.Object


Constructor Summary
ShapeTools()
           
 
Method Summary
static java.awt.geom.Area createArea(java.awt.Shape shape, boolean copy)
           
static int getWindingRule(java.awt.Shape shape)
          Returns the shapes fill style winding rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeTools

public ShapeTools()
Method Detail

createArea

public static java.awt.geom.Area createArea(java.awt.Shape shape,
                                            boolean copy)

getWindingRule

public static int getWindingRule(java.awt.Shape shape)
Returns the shapes fill style winding rule.

Returns:
an integer representing the shapes winding rule.