Added in API level 1
Deprecated in API level 30

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.

Summary

Enum values

Canvas.EdgeType  AA

Antialiased: Treat edges by rounding-out, since they may be antialiased 

Canvas.EdgeType  BW

Black-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

Added in API level 1
public static final Canvas.EdgeType AA

Antialiased: Treat edges by rounding-out, since they may be antialiased

BW

Added in API level 1
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

values

public static final EdgeType[] values ()

Returns
EdgeType[]