Added in API level 1
Deprecated in API level 30

EdgeType


class EdgeType
kotlin.Any
   ↳ kotlin.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

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

Black-and-White: Treat edges by just rounding to nearest pixel boundary

Enum values

AA

Added in API level 1
enum val AA : Canvas.EdgeType

Deprecated: Deprecated in Java.

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

BW

Added in API level 1
enum val BW : Canvas.EdgeType

Deprecated: Deprecated in Java.

Black-and-White: Treat edges by just rounding to nearest pixel boundary