org.jfree.util
Class PaintUtils

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

public abstract class PaintUtils
extends java.lang.Object

Utility code that relates to Paint objects.


Constructor Summary
PaintUtils()
           
 
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

PaintUtils

public PaintUtils()
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.