ConvergeMode
- class ConvergeMode
Describes geometric operations (ala
Region.Op
) that can be applied to coverage bytes.These can be thought of as variants of porter-duff (
BlendMode
) modes, but only applied to the alpha channel.See
MaskFilter
for ways to use these when combining two different masks.Members:
kUnion
kIntersect
kDifference
kReverseDifference
kXor
kLast
Methods
Attributes
Methods
- ConvergeMode.__init__(self: skia.ConvergeMode, value: int) None
Attributes
- ConvergeMode.kDifference = <ConvergeMode.kDifference: 2>
- ConvergeMode.kIntersect = <ConvergeMode.kIntersect: 1>
- ConvergeMode.kLast = <ConvergeMode.kXor: 4>
- ConvergeMode.kReverseDifference = <ConvergeMode.kReverseDifference: 3>
- ConvergeMode.kUnion = <ConvergeMode.kUnion: 0>
- ConvergeMode.kXor = <ConvergeMode.kXor: 4>
- ConvergeMode.name
- ConvergeMode.value