CircleFilter

public struct CircleFilter: ImageFilter

Rounds the corners of an image into a circle.

  • Initializes the CircleFilter instance.

    Declaration

    Swift

    public init()
  • The filter closure used to create the modified representation of the given image.

    Declaration

    Swift

    public var filter: (Image) -> Image