setColor

open fun setColor(@ColorInt color: Int)(source)

Sets the color to the protection. The pixels farther away from the edge get more transparent.

Parameters

color

The color to draw.