ScaledToSizeWithRoundedCornersFilter
public struct ScaledToSizeWithRoundedCornersFilter: CompositeImageFilter
Scales an image to a specified size, then rounds the corners to the specified radius.
-
Initializes the
ScaledToSizeWithRoundedCornersFilterinstance with the given size and radius.Declaration
Swift
public init(size: CGSize, radius: CGFloat, divideRadiusByImageScale: Bool = false) -
The image filters to apply to the image in sequential order.
Declaration
Swift
public let filters: [ImageFilter]
View on GitHub
ScaledToSizeWithRoundedCornersFilter Struct Reference