CABasicAnimation 的完整键路径列表是什么?

What is the full Keypath list for CABasicAnimation?

我查看了文档,但发现缺少一些内容,例如 "transform.scale.xy":[CoreAnimation 指南][1] 是否有更完整的列表?

这是我所知道的关于可动画属性、keyPath 和 key-value 编码扩展的所有内容。

CALayer 可动画图层属性 -- 下面的其他 CALayer 类型都继承自 CALayer,因此这些也适用于那些:

anchorPoint
backgroundColor
backgroundFilters
borderColor
borderWidth
bounds
compositingFilter
contents
contentsRect
cornerRadius
doubleSided
filters
frame
hidden
mask
masksToBounds
opacity
position
shadowColor
shadowOffset
shadowOpacity
shadowPath
shadowRadius
sublayers
sublayerTransform
transform
zPosition

CAEmitterLayer 动画属性:

emitterPosition
emitterZPosition
emitterSize

CAGradientLayer 动画属性:

colors
locations
endPoint
startPoint

CAReplicatorLayer 动画属性:

instanceDelay
instanceTransform
instanceRedOffset
instanceGreenOffset
instanceBlueOffset
instanceAlphaOffset

CAShapeLayer 动画属性:

fillColor
lineDashPhase
lineWidth
miterLimit
strokeColor
strokeStart
strokeEnd

CATextLayer 动画属性:

fontSize
foregroundColor

CATiledLayer 动画属性:

I feel like tileSize is animatable, but documentation doesn't agree.

CATransform3D Key-Value 编码扩展:

rotation.x
rotation.y
rotation.z
rotation
scale.x
scale.y
scale.z
scale
translation.x
translation.y
translation.z

CGPoint keyPaths:

x
y

CGSize keyPaths:

width
height

CGRect keyPaths:

origin
origin.x
origin.y
size
size.width
size.height

这些是Appendix B of the Core Animation Programming Guide, and Appendix C