TweenProperty
public struct TweenProperty : TweenableProperty
The properties of CALayer that can be animated with a tween.
-
Declaration
Swift
public let animation: (CALayer) -> Tween.Animation -
The
frameproperty ofCALayer.Declaration
Swift
public static func frame(_ value: CGRect) -> TweenProperty -
The
boundsproperty ofCALayer.Declaration
Swift
public static func bounds(_ value: CGRect) -> TweenProperty -
The
positionproperty ofCALayer.Declaration
Swift
public static func position(_ value: CGPoint) -> TweenProperty -
The
zPositionproperty ofCALayer.Declaration
Swift
public static func zPosition(_ value: CGFloat) -> TweenProperty -
The
anchorPointproperty ofCALayer.Declaration
Swift
public static func anchorPoint(_ value: CGPoint) -> TweenProperty -
The
anchorPointZproperty ofCALayer.Declaration
Swift
public static func anchorPointZ(_ value: CGFloat) -> TweenProperty -
The
transformproperty ofCALayer.Declaration
Swift
public static func transform(_ value: CATransform3D) -> TweenProperty -
The
sublayerTransformproperty ofCALayer.Declaration
Swift
public static func sublayerTransform(_ value: CATransform3D) -> TweenProperty -
The
contentsRectproperty ofCALayer.Declaration
Swift
public static func contentsRect(_ value: CGRect) -> TweenProperty -
The
contentsCenterproperty ofCALayer.Declaration
Swift
public static func contentsCenter(_ value: CGRect) -> TweenProperty -
The
contentsScaleproperty ofCALayer.Declaration
Swift
@available(iOS 4.0, *) public static func contentsScale(_ value: CGFloat) -> TweenProperty -
The
cornerRadiusproperty ofCALayer.Declaration
Swift
public static func cornerRadius(_ value: CGFloat) -> TweenProperty -
The
borderWidthproperty ofCALayer.Declaration
Swift
public static func borderWidth(_ value: CGFloat) -> TweenProperty -
The
borderColorproperty ofCALayer.Declaration
Swift
public static func borderColor(_ value: UIColor) -> TweenProperty -
The
backgroundColorproperty ofCALayer.Declaration
Swift
public static func backgroundColor(_ value: UIColor) -> TweenProperty -
The
opacityproperty ofCALayer.Declaration
Swift
public static func opacity(_ value: Float) -> TweenProperty -
The
shadowColorproperty ofCALayer.Declaration
Swift
public static func shadowColor(_ value: UIColor) -> TweenProperty -
The
shadowOpacityproperty ofCALayer.Declaration
Swift
public static func shadowOpacity(_ value: Float) -> TweenProperty -
The
shadowOffsetproperty ofCALayer.Declaration
Swift
public static func shadowOffset(_ value: CGSize) -> TweenProperty -
The
shadowRadiusproperty ofCALayer.Declaration
Swift
public static func shadowRadius(_ value: CGFloat) -> TweenProperty
View on GitHub
TweenProperty Structure Reference