FluidInitialFrameDimension
public struct FluidInitialFrameDimension : FluidFrameDimensionCompatible
The initial frame dimension that conforms to the FluidFrameDimensionCompatible protocol.
-
The initializer that instantiates a
FluidInitialFrameDimensionobject.Declaration
Swift
public init<T>(for navigationStyle: FluidNavigationStyle, containerSize: CGSize? = nil, contentOrigin: CGPoint, contentSize: CGSize, contentTransform: T = T.identity) where T : FluidTransformConvertibleParameters
navigationStyleThe
FluidNavigationStylevalue of the navigation.originThe position value of the destination frame when the transition starts.
sizeThe size value of the destination frame when the transition starts.
-
The initializer that instantiates a
FluidInitialFrameDimensionobject.Declaration
Swift
public init<T>(for transitionStyle: FluidTransitionStyle, containerSize: CGSize? = nil, contentOrigin: CGPoint, contentSize: CGSize, contentTransform: T = T.identity) where T : FluidTransformConvertibleParameters
transitionStyleThe
FluidTransitionStylevalue of the transition.originThe position value of the destination frame when the transition starts.
sizeThe size value of the destination frame when the transition starts.
-
The function that returns initial frame for an orientation.
Declaration
Swift
public func frame(for containerSize: CGSize? = nil) -> CGRectParameters
orientationThe
UIInterfaceOrientationvalue.Return Value
The
CATransform3Dvalue. -
The function that returns final transform for an orientation.
Declaration
Swift
public func transform(for containerSize: CGSize? = nil) -> CATransform3DParameters
orientationThe
UIInterfaceOrientationvalue.Return Value
The
CATransform3Dvalue.
View on GitHub
FluidInitialFrameDimension Structure Reference