Skia
2D Graphics Library
SkOverdrawColorFilter Class Reference

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

#include <SkOverdrawColorFilter.h>

Static Public Member Functions

static sk_sp< SkColorFilterMakeWithSkColors (const SkColor[kNumColors])
 

Static Public Attributes

static constexpr int kNumColors = 6
 

Detailed Description

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

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

Member Function Documentation

◆ MakeWithSkColors()

static sk_sp<SkColorFilter> SkOverdrawColorFilter::MakeWithSkColors ( const  SkColor[kNumColors])
static

Member Data Documentation

◆ kNumColors

constexpr int SkOverdrawColorFilter::kNumColors = 6
staticconstexpr

The documentation for this class was generated from the following file: