This method of the FontX Class checks that the argument is not null (is either a Font or a FontX object) and has the same name, same style, and same point size as this FontX object.
public boolean equals(Object obj);
Returns true if the objects are equal; otherwise, returns false.
obj | The object to be compared with the FontX object. |