| 592 | } |
| 593 | |
| 594 | Fill transform(const Fill& fill) const override { |
| 595 | auto newFill = fill; |
| 596 | newFill.color.alpha *= layerFill.color.alpha; |
| 597 | newFill.blendMode = layerFill.blendMode; |
| 598 | newFill.colorFilter = ColorFilter::Compose(fill.colorFilter, layerFill.colorFilter); |
| 599 | return newFill; |
| 600 | } |
| 601 | |
| 602 | private: |
| 603 | Fill layerFill = {}; |