SessionFilterStraighten
open class SessionFilterStraighten : SessionFilter
Applying the filter to an image:
let straightenFilter = SessionFilterStraighten()
straightenFilter.normalizedIntensity = 5 // Degrees
session.image!.filters = [straightenFilter]
Applying the filter to a whole video:
let straightenFilter = SessionFilterStraighten()
straightenFilter.normalizedIntensity = 5 // Degrees
session.video!.filters = [straightenFilter]
Applying the filter to the first segment of a video:
let vignetteFilter = straightenFilter()
straightenFilter.normalizedIntensity = 5 // Degrees
session.video!.videoSegments.first!.filters = [straightenFilter]
For more information about filters visit the super class SessionFilter
.
-
See super
normalizedIntensity
for more information.Default:
normalizedIntensityDefault
Declaration
Swift
public override var normalizedIntensity: Double { get set }
-
See super
normalizedIntensityDefault
for more information.Default:
0
Declaration
Swift
public override var normalizedIntensityDefault: Double { get }
-
See super
normalizedIntensityRange
for more information.Default:
(-20, 20)
Declaration
Swift
public override var normalizedIntensityRange: (Double, Double) { get set }
-
See super
actualIntensity
for more information.Default:
actualIntensityDefault
Declaration
Swift
public override var actualIntensity: Double { get }
-
In degrees. See super
actualIntensityDefault
for more information.Default:
0
Declaration
Swift
public override var actualIntensityDefault: Double { get set }
-
In degrees. See super
actualIntensityRange
for more information.Default:
(-20, 20)
Declaration
Swift
public override var actualIntensityRange: (Double, Double) { get set }