Path.FillType
  public
  static
  final
  
  enum
  Path.FillType
  
  
  
  
    extends Enum<Path.FillType>
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | java.lang.Enum<android.graphics.Path.FillType> | |
| ↳ | android.graphics.Path.FillType | |
Enum for the ways a path may be filled.
Summary
Enum values | |
|---|---|
Path.FillType  | 
    
      EVEN_ODD
      Specifies that "inside" is computed by an odd number of edge crossings.  | 
  
Path.FillType  | 
    
      INVERSE_EVEN_ODD
      Same as   | 
  
Path.FillType  | 
    
      INVERSE_WINDING
      Same as   | 
  
Path.FillType  | 
    
      WINDING
      Specifies that "inside" is computed by a non-zero sum of signed edge crossings.  | 
  
Public methods | |
|---|---|
        
        
        static
        
        
        Path.FillType
     | 
  
    
      
      valueOf(String name)
      
      
     | 
  
        
        
        static
        final
        
        FillType[]
     | 
  
    
      
      values()
      
      
     | 
  
Inherited methods | |
|---|---|
Enum values
EVEN_ODD
public static final Path.FillType EVEN_ODD
Specifies that "inside" is computed by an odd number of edge crossings.
INVERSE_EVEN_ODD
public static final Path.FillType INVERSE_EVEN_ODD
Same as EVEN_ODD, but draws outside of the path, rather than inside.
INVERSE_WINDING
public static final Path.FillType INVERSE_WINDING
Same as WINDING, but draws outside of the path, rather than inside.
WINDING
public static final Path.FillType WINDING
Specifies that "inside" is computed by a non-zero sum of signed edge crossings.
Public methods
valueOf
public static Path.FillType valueOf (String name)
| Parameters | |
|---|---|
name | 
        
          String  | 
      
| Returns | |
|---|---|
Path.FillType | 
        |
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-13 UTC.