ScaledToSizeCircleFilter
public struct ScaledToSizeCircleFilter : CompositeImageFilter
Scales an image to a specified size, then rounds the corners into a circle.
-
Initializes the
ScaledToSizeCircleFilterinstance with the given size.Declaration
Swift
public init(size: CGSize)Parameters
sizeThe size.
Return Value
The new
ScaledToSizeCircleFilterinstance. -
The image filters to apply to the image in sequential order.
Declaration
Swift
public let filters: [ImageFilter]
View on GitHub
Install in Dash
ScaledToSizeCircleFilter Structure Reference