| 385 | } |
| 386 | |
| 387 | void Layer::setBackgroundColor(Color backgroundColor) { |
| 388 | if (_backgroundColor != backgroundColor) { |
| 389 | _backgroundColor = backgroundColor; |
| 390 | setNeedsDisplay(); |
| 391 | } |
| 392 | } |
| 393 | |
| 394 | void Layer::setBackgroundLinearGradient(std::vector<Scalar>&& locations, |
| 395 | std::vector<Color>&& colors, |
no outgoing calls