setFillColor

open fun setFillColor(@ColorInt color: Int)

Sets the fill color for this annotation. Only used for certain annotation types. s, for example, aren't affected by this property.

Note: The annotation will only store the RGB part and discard the alpha channel set here. Annotation opacity is set via the setAlpha property.

Parameters

color

The annotation color or Color#TRANSPARENT to clear the field.