setBorderColor

open fun setBorderColor(@ColorInt color: Int)

Sets the border color for this annotation. Border color usually redirects to color, unless overridden to have a real backing store (this is the case for WidgetAnnotation).

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 border color or Color#TRANSPARENT to clear the field.