animator.skia.BlendMode¶
- class animator.skia.BlendMode¶
Bases:
pybind11_builtins.pybind11_objectMembers:
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
kClearkColorkColorBurnkColorDodgekDarkenkDifferencekDstkDstATopkDstInkDstOutkDstOverkExclusionkHardLightkHuekLastCoeffModekLastModekLastSeparableModekLightenkLuminositykModulatekMultiplykOverlaykPluskSaturationkScreenkSoftLightkSrckSrcATopkSrcInkSrcOutkSrcOverkXorvalue- 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.