returns true if the two paint objects are equal or both null . this method handles gradientpaint as a special case . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder
boolean function ( final PaintType arg0 , final PaintType arg1 ) { if ( arg0 == null ) { return ( arg1 == null ) ; } if ( arg1 == null ) { return false ; } return arg0 . equals ( arg1 ) ; }