ParallaxEffectOptions
public struct ParallaxEffectOptions
A type that allows to customize parallax effect
-
A property to allow customize parallax effect (pan, angles, etc.)
Seealso
ParallaxMotionEffectDeclaration
Swift
public var parallaxMotionEffect: ParallaxMotionEffect
-
Maximum deviation of the shadow relative to the center
Declaration
Swift
public var shadowPanDeviation: Double
-
Specify parallax effect of subiviews of the
parallaxEffectView
Declaration
Swift
public var subviewsParallaxMode: SubviewsParallaxMode
-
Custom container view that will be usead to apply subviews parallax effect
Declaration
Swift
public var parallaxSubviewsContainer: UIView?
-
A view that will be a container for the glow effect
Declaration
Swift
public weak var glowContainerView: UIView? { get set }
-
Minimum vertical value at the most top position can be adjusted by this multipler
Declaration
Swift
public var minVerticalPanGlowMultipler: Double
-
Maximum vertical value at the most bottom position can be adjusted by this multipler
Declaration
Swift
public var maxVerticalPanGlowMultipler: Double
-
Alpha of the glow image view
Declaration
Swift
public var glowAlpha: Double { get set }
-
Glow effect image view
Declaration
Swift
public var glowImageView: UIImageView
-
Glow position
Declaration
Swift
public var glowPosition: GlowPosition
-
Constructor
Declaration
Swift
public init(parallaxSubviewsContainer: UIView? = nil, glowContainerView: UIView? = nil)
Parameters
parallaxSubviewsContainer
Custom container view that will be usead to apply subviews parallax effect. By default it will be parallaxable view
glowContainerView
Custom container view for the glow effect, if nil then it will be automatically configured
-
Undocumented
See moreDeclaration
Swift
public struct GlowPosition