AlphaType

class AlphaType

Members:

kUnknown_AlphaType : uninitialized

kOpaque_AlphaType : pixel is opaque

kPremul_AlphaType : pixel components are premultiplied by alpha

kUnpremul_AlphaType : pixel components are independent of alpha

kLastEnum_AlphaType : last valid value

Methods

__init__

Attributes

kLastEnum_AlphaType

kOpaque_AlphaType

kPremul_AlphaType

kUnknown_AlphaType

kUnpremul_AlphaType

name

value

Methods

AlphaType.__init__(self: skia.AlphaType, value: int) None

Attributes

AlphaType.kLastEnum_AlphaType = <AlphaType.kUnpremul_AlphaType: 3>
AlphaType.kOpaque_AlphaType = <AlphaType.kOpaque_AlphaType: 1>
AlphaType.kPremul_AlphaType = <AlphaType.kPremul_AlphaType: 2>
AlphaType.kUnknown_AlphaType = <AlphaType.kUnknown_AlphaType: 0>
AlphaType.kUnpremul_AlphaType = <AlphaType.kUnpremul_AlphaType: 3>
AlphaType.name
AlphaType.value