TweenProperty
public struct TweenProperty : TweenableProperty
The properties of UIView
that can be animated with a tween.
-
Declaration
Swift
public let animation: (UIView) -> Tween.Animation
-
The
frame.origin.x
property ofUIView
.Declaration
Swift
public static func x(_ value: CGFloat) -> TweenProperty
-
The
frame.origin.y
property ofUIView
.Declaration
Swift
public static func y(_ value: CGFloat) -> TweenProperty
-
The
frame.origin
property ofUIView
.Declaration
Swift
public static func origin(_ value: CGPoint) -> TweenProperty
-
The
frame.size.width
property ofUIView
.Declaration
Swift
public static func width(_ value: CGFloat) -> TweenProperty
-
The
frame.size.height
property ofUIView
.Declaration
Swift
public static func height(_ value: CGFloat) -> TweenProperty
-
The
frame.size
property ofUIView
.Declaration
Swift
public static func size(_ value: CGSize) -> TweenProperty
-
The
frame.minX
property ofUIView
.Declaration
Swift
public static func left(_ value: CGFloat) -> TweenProperty
-
The
frame.maxX
property ofUIView
.Declaration
Swift
public static func right(_ value: CGFloat) -> TweenProperty
-
The
frame.minY
property ofUIView
.Declaration
Swift
public static func top(_ value: CGFloat) -> TweenProperty
-
The
frame.maxY
property ofUIView
.Declaration
Swift
public static func bottom(_ value: CGFloat) -> TweenProperty
-
The
frame
property ofUIView
.Declaration
Swift
public static func frame(_ value: CGRect) -> TweenProperty
-
The
bounds
property ofUIView
.Declaration
Swift
public static func bounds(_ value: CGRect) -> TweenProperty
-
The
transform
property ofUIView
.Declaration
Swift
public static func transform(_ value: CGAffineTransform) -> TweenProperty
-
The
center
property ofUIView
.Declaration
Swift
public static func center(_ value: CGPoint) -> TweenProperty
-
The
center.x
property ofUIView
.Declaration
Swift
public static func centerX(_ value: CGFloat) -> TweenProperty
-
The
center.y
property ofUIView
.Declaration
Swift
public static func centerY(_ value: CGFloat) -> TweenProperty
-
The
alpha
property ofUIView
.Declaration
Swift
public static func alpha(_ value: CGFloat) -> TweenProperty
-
The
backgroundColor
property ofUIView
.Declaration
Swift
public static func backgroundColor(_ value: UIColor) -> TweenProperty
-
The
tintColor
property ofUIView
.Declaration
Swift
@available(iOS 7.0, *) public static func tintColor(_ value: UIColor) -> TweenProperty
-
The
contentScaleFactor
property ofUIView
.Declaration
Swift
@available(iOS 4.0, *) public static func contentScaleFactor(_ value: CGFloat) -> TweenProperty
-
The
layoutMargins
property ofUIView
.Declaration
Swift
@available(iOS 8.0, *) public static func layoutMargins(_ value: UIEdgeInsets) -> TweenProperty