double get opacity => _opacity;
set opacity(double value) { if (_opacity != value) { _opacity = value; markNeedsSegmentsPaint(); } }