| 168 | } |
| 169 | |
| 170 | void ImageLayer::setTintColor(Color tintColor) { |
| 171 | if (_tintColor != tintColor) { |
| 172 | _tintColor = tintColor; |
| 173 | _imagePaint.setBlendColorFilter(tintColor); |
| 174 | setNeedsDisplay(); |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | void ImageLayer::setContentScaleX(Scalar contentScaleX) { |
| 179 | if (_contentScaleX != contentScaleX) { |
no test coverage detected