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 of UIView.

    Declaration

    Swift

    public static func x(_ value: CGFloat) -> TweenProperty
  • The frame.origin.y property of UIView.

    Declaration

    Swift

    public static func y(_ value: CGFloat) -> TweenProperty
  • The frame.origin property of UIView.

    Declaration

    Swift

    public static func origin(_ value: CGPoint) -> TweenProperty
  • The frame.size.width property of UIView.

    Declaration

    Swift

    public static func width(_ value: CGFloat) -> TweenProperty
  • The frame.size.height property of UIView.

    Declaration

    Swift

    public static func height(_ value: CGFloat) -> TweenProperty
  • The frame.size property of UIView.

    Declaration

    Swift

    public static func size(_ value: CGSize) -> TweenProperty
  • The frame.minX property of UIView.

    Declaration

    Swift

    public static func left(_ value: CGFloat) -> TweenProperty
  • The frame.maxX property of UIView.

    Declaration

    Swift

    public static func right(_ value: CGFloat) -> TweenProperty
  • The frame.minY property of UIView.

    Declaration

    Swift

    public static func top(_ value: CGFloat) -> TweenProperty
  • The frame.maxY property of UIView.

    Declaration

    Swift

    public static func bottom(_ value: CGFloat) -> TweenProperty
  • The frame property of UIView.

    Declaration

    Swift

    public static func frame(_ value: CGRect) -> TweenProperty
  • The bounds property of UIView.

    Declaration

    Swift

    public static func bounds(_ value: CGRect) -> TweenProperty
  • The transform property of UIView.

    Declaration

    Swift

    public static func transform(_ value: CGAffineTransform) -> TweenProperty
  • The center property of UIView.

    Declaration

    Swift

    public static func center(_ value: CGPoint) -> TweenProperty
  • The center.x property of UIView.

    Declaration

    Swift

    public static func centerX(_ value: CGFloat) -> TweenProperty
  • The center.y property of UIView.

    Declaration

    Swift

    public static func centerY(_ value: CGFloat) -> TweenProperty
  • The alpha property of UIView.

    Declaration

    Swift

    public static func alpha(_ value: CGFloat) -> TweenProperty
  • The backgroundColor property of UIView.

    Declaration

    Swift

    public static func backgroundColor(_ value: UIColor) -> TweenProperty
  • The tintColor property of UIView.

    Declaration

    Swift

    @available(iOS 7.0, *)
    public static func tintColor(_ value: UIColor) -> TweenProperty
  • The contentScaleFactor property of UIView.

    Declaration

    Swift

    @available(iOS 4.0, *)
    public static func contentScaleFactor(_ value: CGFloat) -> TweenProperty
  • The layoutMargins property of UIView.

    Declaration

    Swift

    @available(iOS 8.0, *)
    public static func layoutMargins(_ value: UIEdgeInsets) -> TweenProperty