CircleTransform

public class CircleTransform : Transform

Applies a circle border effect to the image.

Lifecycle

  • Initializes a CircleTransform object.

    Declaration

    Swift

    public init()

Public Functions

  • Adds the background option.

    Declaration

    Swift

    @discardableResult
    func background(_ value: UIColor) -> Self

    Parameters

    value

    Sets the background color to display behind the image.