org.jfree.util
Class PaintUtilities

java.lang.Object
  extended byorg.jfree.util.PaintUtilities

public abstract class PaintUtilities
extends java.lang.Object

Utility code that relates to Paint objects.


Constructor Summary
PaintUtilities()
           
 
Method Summary
static boolean equal(java.awt.Paint p1, java.awt.Paint p2)
          Returns true if the two Paint objects are equal OR both null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaintUtilities

public PaintUtilities()
Method Detail

equal

public static boolean equal(java.awt.Paint p1,
                            java.awt.Paint p2)
Returns true if the two Paint objects are equal OR both null.

Parameters:
p1 - paint 1.
p2 - paint 2.
Returns:
true or false.