animator.skia.BlendMode

class animator.skia.BlendMode

Bases: pybind11_builtins.pybind11_object

Members:

kClear

kSrc

kDst

kSrcOver

kDstOver

kSrcIn

kDstIn

kSrcOut

kDstOut

kSrcATop

kDstATop

kXor

kPlus

kModulate

kScreen

kOverlay

kDarken

kLighten

kColorDodge

kColorBurn

kHardLight

kSoftLight

kDifference

kExclusion

kMultiply

kHue

kSaturation

kColor

kLuminosity

kLastCoeffMode

kLastSeparableMode

kLastMode

__init__(self: animator.skia.BlendMode, value: int) None

Methods

__init__(self, value)

asCoeff(self)

Returns the source and destination coefficients for the coeffient-based blend mode, or None otherwise.

name_(self)

Returns name of blend mode as returned by the C++ API.

Attributes

kClear

kColor

kColorBurn

kColorDodge

kDarken

kDifference

kDst

kDstATop

kDstIn

kDstOut

kDstOver

kExclusion

kHardLight

kHue

kLastCoeffMode

kLastMode

kLastSeparableMode

kLighten

kLuminosity

kModulate

kMultiply

kOverlay

kPlus

kSaturation

kScreen

kSoftLight

kSrc

kSrcATop

kSrcIn

kSrcOut

kSrcOver

kXor

name

value

asCoeff(self: animator.skia.BlendMode) Optional[tuple]

Returns the source and destination coefficients for the coeffient-based blend mode, or None otherwise.

property name
name_(self: animator.skia.BlendMode) str

Returns name of blend mode as returned by the C++ API.