CircleTransform
public class CircleTransform : Transform
Applies a circle border effect to the image.
-
Initializes a
CircleTransform
object.Declaration
Swift
public init()
-
Adds the
background
option.Declaration
Swift
@discardableResult func background(_ value: UIColor) -> Self
Parameters
value
Sets the background color to display behind the image.