getAlpha

@FloatRange(from = 0.0, to = 1.0)
open fun getAlpha(): Float

Returns the annotation's main alpha (or stroke alpha). For annotations that also have a fill colour, such as shapes, this is the border/line alpha.

Return

Alpha for the annotation. It's the value in range <0.0f...1.0f>. Default value is 1.0f.