transform.rotation.x 圍繞x軸翻轉(zhuǎn)蒙具。y,z同理 參數(shù):角度
transform.rotation 默認(rèn)圍繞z軸
transform.scale.x x方向縮放酪碘。y,z同理
transform.scale 所有方向縮放
transform.translation.x x軸方向移動,參數(shù):x軸上的坐標(biāo)腾么。y,z同理
transform.translation 移動到的點(diǎn)
zPosition 平面的位置
opacity 透明度
backgroundColor 背景顏色 參數(shù):顏色 (id)[[UIColor redColor] CGColor]
cornerRadius layer圓角
borderWidth 邊框?qū)挾?bounds 大小 參數(shù):CGRect
contents 內(nèi)容 參數(shù):CGImage
contentsRect 可視內(nèi)容 參數(shù):CGRect 值是0~1之間的小數(shù)
position 位置,效果和transform.rotation差不多
shadowColor 陰影顏色
shadowOffset 陰影偏移
shadowOpacity 陰影透明度
shadowRadius 陰影角度
type 動畫過渡類型
subtype 動畫過渡方向
type的值 解讀 對應(yīng)常量
fade 淡入淡出 kCATransitionFade
push 推擠 kCATransitionPush
reveal 揭開 kCATransitionReveal
moveIn 覆蓋 kCATransitionMoveIn
cube 立方體 私有API
suckEffect 吮吸 私有API
oglFlip 翻轉(zhuǎn) 私有API
rippleEffect 波紋 私有API
pageCurl 反翻頁 私有API
cameraIrisHollowOpen 開鏡頭 私有API
cameraIrisHollowClose 關(guān)鏡頭 私有API
私有API只能通過字符串使用
subtype的值 解讀
kCATransitionFromRight 從右轉(zhuǎn)場
kCATransitionFromLeft 從左轉(zhuǎn)場
kCATransitionFromBottom 從下轉(zhuǎn)場
kCATransitionFromTop 從上轉(zhuǎn)場