ScaledToSizeFilter
public struct ScaledToSizeFilter : ImageFilter, Sizable
Scales an image to a specified size.
-
The size of the filter.
Declaration
Swift
public let size: CGSize
-
Initializes the
ScaledToSizeFilter
instance with the given size.Declaration
Swift
public init(size: CGSize)
Parameters
size
The size.
Return Value
The new
ScaledToSizeFilter
instance.