Most visited

Recently visited

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


Summary

Enum values

Canvas.EdgeType  AA

Antialiased:通过舍入处理边缘,因为它们可能是反锯齿

Canvas.EdgeType  BW

黑白:通过舍入到最近的像素边界来处理边缘

Public methods

static Canvas.EdgeType valueOf(String name)
static final EdgeType[] values()

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

AA

Added in API level 1
Canvas.EdgeType AA

Antialiased:通过舍入处理边缘,因为它们可能是反锯齿

BW

Added in API level 1
Canvas.EdgeType BW

黑白:通过舍入到最近的像素边界来处理边缘

Public methods

valueOf

Added in API level 1
Canvas.EdgeType valueOf (String name)

Parameters
name String
Returns
Canvas.EdgeType

values

Added in API level 1
EdgeType[] values ()

Returns
EdgeType[]

Hooray!