CircleFilter

public struct CircleFilter : ImageFilter

Rounds the corners of an image into a circle.

  • Initializes the CircleFilter instance.

    Declaration

    Swift

    public init()

    Return Value

    The new CircleFilter instance.

  • The filter closure used to create the modified representation of the given image.

    Declaration

    Swift

    public var filter: (Image) -> Image { get }