Retrieves a boolean value that indicates whether the specified object is equivalent to this Pen object.
public boolean equals( Object obj )
obj
The object to compare to this one.
Returns true if the given object is equivalent to this object; otherwise, returns false. The specified object must be a Pen object.