mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
62ead6a8ee
Add blur and tint mode implementation
11 lines
205 B
Swift
11 lines
205 B
Swift
// Copyright 2021 Yandex LLC. All rights reserved.
|
|
|
|
import CoreGraphics
|
|
|
|
import BaseTiny
|
|
|
|
public enum ImageEffect: Equatable {
|
|
case blur(radius: CGFloat)
|
|
case tint(color: RGBAColor, mode: TintMode?)
|
|
}
|