Canvas.EdgeType
  public
  static
  final
  
  enum
  Canvas.EdgeType
  
  
  
  
    extends Enum<Canvas.EdgeType>
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | java.lang.Enum<android.graphics.Canvas.EdgeType> | |
| ↳ | android.graphics.Canvas.EdgeType | |
      This enum was deprecated
      in API level 30.
    quickReject no longer uses this.
  
Constant values used as parameters to quickReject() calls. These values
 specify how much space around the shape should be accounted for, depending on whether
 the shaped area is antialiased or not.
See also:
Summary
| Enum values | |
|---|---|
| Canvas.EdgeType | AAAntialiased: Treat edges by rounding-out, since they may be antialiased | 
| Canvas.EdgeType | BWBlack-and-White: Treat edges by just rounding to nearest pixel boundary | 
| Public methods | |
|---|---|
| 
        
        
        static
        
        
        Canvas.EdgeType | 
      valueOf(String name)
       | 
| 
        
        
        static
        final
        
        EdgeType[] | 
      values()
       | 
| Inherited methods | |
|---|---|
Enum values
AA
public static final Canvas.EdgeType AA
Antialiased: Treat edges by rounding-out, since they may be antialiased
BW
public static final Canvas.EdgeType BW
Black-and-White: Treat edges by just rounding to nearest pixel boundary
Public methods
valueOf
public static Canvas.EdgeType valueOf (String name)
| Parameters | |
|---|---|
| name | String | 
| Returns | |
|---|---|
| Canvas.EdgeType | |
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-08-20 UTC.
