Filestack Documentation

Class Partial​Pixelate​Transform

public class PartialPixelateTransform: Transform  

Changes image brightness, saturation and hue.

PartialPixelateTransform PartialPixelateTransform Transform Transform PartialPixelateTransform->Transform

Superclass

Transform

:nodoc:

Initializers

init(objects:​)

public init(objects: [CGRect])  

Initializes a PartialPixelateTransform object.

Methods

amount(_:​)

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

Adds amount option.

Parameters

value Int

Valid range: 2...100

blur(_:​)

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

Adds the blur option.

Parameters

value Float

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

type(_:​)

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

Adds the type option.

Parameters

value Transform​Shape​Type

An TransformShapeType value.