intarsys runtime library

de.intarsys.tools.geometry
Class ShapeTools

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

public class ShapeTools
extends Object


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

Constructor Detail

ShapeTools

public ShapeTools()
Method Detail

getWindingRule

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

Returns:
an integer representing the shapes winding rule.
See Also:
#WIND_EVEN_ODD, #WIND_NON_ZERO, #setWindingRule

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.