PartialPixelateTransform

public class PartialPixelateTransform : Transform

Changes image brightness, saturation and hue.

Lifecycle

  • Initializes a PartialPixelateTransform object.

    Declaration

    Swift

    public init(objects: [CGRect])

Public Functions

  • Adds amount option.

    Declaration

    Swift

    @discardableResult
    func amount(_ value: Int) -> Self

    Parameters

    value

    Valid range: 2...100

  • Adds the blur option.

    Declaration

    Swift

    @discardableResult
    func blur(_ value: Float) -> Self

    Parameters

    value

    The amount to blur the pixelated faces. Valid range: 0...20

  • Adds the type option.

    Declaration

    Swift

    @discardableResult
    func type(_ value: TransformShapeType) -> Self

    Parameters

    value

    An TransformShapeType value.