Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
    
    DrawFilter
    open class DrawFilter
    
    
    A DrawFilter subclass can be installed in a Canvas. When it is present, it can modify the paint that is used to draw (temporarily). With this, a filter can disable/enable antialiasing, or change the color for everything this is drawn.
    Summary
    
    
      
        
          | Protected methods | 
        
          | open Unit |  | 
      
    
    Public constructors
    
    Protected methods
    
      finalize
      
      protected open fun finalize(): Unit
      
        
          
            | Exceptions | 
          
            | java.lang.Throwable | the Exceptionraised by this method | 
        
      
     
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
  
  
  
    
      [null,null,["Last updated 2025-02-10 UTC."],[],[]]