OverdrawColorFilter

class OverdrawColorFilter

Uses the value in the src alpha channel to set the dst pixel.

0 -> colors[0] 1 -> colors[1] … 5 (or larger) -> colors[5]

Methods

MakeWithColors

__init__

Attributes

kNumColors

Methods

static OverdrawColorFilter.MakeWithColors(colors: list[int]) skia.ColorFilter
OverdrawColorFilter.__init__(*args, **kwargs)

Attributes

OverdrawColorFilter.kNumColors = 6