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