Class Overview  
      AvoidXfermode xfermode will draw the src everywhere except on top of the opColor or, depending on the Mode, draw only on top of the opColor. 
 
      
      
      
      Summary  
       
      
      
       
        
         Public Constructors 
          
         
         
           Example  
           
            ? Examples
                
         
           
           AvoidXfermode AvoidXfermode.Mode  mode)
            
          
           This xfermode draws, or doesn't draw, based on the destination's distance from an op-color.
          
  
          
        
      
 
       
      
       
        
          [Expand]  
          
           Inherited Methods
          
 
          
         
          android.graphics.Xfermode  
           
            
           
 
            
             
             
               
               
                
                  void
                    
               
                 
                 finalize   
                
                 Invoked when the garbage collector has detected that this instance is no longer reachable.
                
  
                
              
            
 
             
             
          
         
          java.lang.Object  
           
            
           
 
            
             
             
               
               
                 
                 Object 
                    
               
                 
                 clone   
                
                 Creates and returns a copy of this 
                 Object.
                
  
                
               
               
                
                  boolean
                    
               
                 
                 equals Object  o)
                  
                
                 Compares this instance with the specified object and indicates if they are equal.
                
  
                
               
               
                
                  void
                    
               
                 
                 finalize   
                
                 Invoked when the garbage collector has detected that this instance is no longer reachable.
                
  
                
               
               
                
                  final 
                 Class <?>
                    
               
                 
                 getClass   
                
                 Returns the unique instance of 
                 
Class  that represents this object's class.
                
 
                
               
               
                
                  int
                    
               
                 
                 hashCode   
                
                 Returns an integer hash code for this object.
                
  
                
               
               
                
                  final void
                    
               
                 
                 notify   
                
                 Causes a thread which is waiting on this object's monitor (by means of calling one of the 
                 wait() methods) to be woken up.
                
  
                
               
               
                
                  final void
                    
               
                 
                 notifyAll   
                
                 Causes all threads which are waiting on this object's monitor (by means of calling one of the 
                 wait() methods) to be woken up.
                
  
                
               
               
                 
                 String 
                    
               
                 
                 toString   
                
                 Returns a string containing a concise, human-readable description of this object.
                
  
                
               
               
                
                  final void
                    
               
                 
                 wait   
                
                 Causes the calling thread to wait until another thread calls the 
                 notify() or 
                 notifyAll() method of this object.
                
  
                
               
               
                
                  final void
                    
               
                 
                 wait   
                
                 Causes the calling thread to wait until another thread calls the 
                 notify() or 
                 notifyAll() method of this object or until the specified timeout expires.
                
  
                
               
               
                
                  final void
                    
               
                 
                 wait   
                
                 Causes the calling thread to wait until another thread calls the 
                 notify() or 
                 notifyAll() method of this object or until the specified timeout expires.
                
  
                
              
            
 
             
             
          
        
      
 
      
      
      
      
      
      
      
      
      
     Public Constructors  
      
        public   AvoidXfermode  (int opColor, int tolerance, AvoidXfermode.Mode  mode)    
       
       
       
        This xfermode draws, or doesn't draw, based on the destination's distance from an op-color. There are two modes, and each mode interprets a tolerance value. Avoid: In this mode, drawing is allowed only on destination pixels that are different from the op-color. Tolerance near 0: avoid any colors even remotely similar to the op-color Tolerance near 255: avoid only colors nearly identical to the op-color Target: In this mode, drawing only occurs on destination pixels that are similar to the op-color Tolerance near 0: draw only on colors that are nearly identical to the op-color Tolerance near 255: draw on any colors even remotely similar to the op-color