opacity property

double get opacity

The opacity of the annotation text associated with this Sublayer.

Opacity is a value between 0 and 1, with 0 indicating that the annotation will be completely transparent, and 1 indicating that the annotation will be completely opaque.