setPrimaryColor

public Unit setPrimaryColor(Integer primaryColor)

Sets the primary color of colors and paint.

If isStrictColor is true, the color will be used as such, without modifying its alpha channel. Otherwise, its will be modified with getAlphaRangedColor

Parameters

color

The new primary color.