lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

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


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

added in API level 1
public static Canvas.EdgeType valueOf (String name)

Parameters
name String

Returns
Canvas.EdgeType

values

added in API level 1
public static final EdgeType[] values ()

Returns
EdgeType[]