zoukankan      html  css  js  c++  java
  • CABasicAnimation animationWithKeyPath 一些规定的值

    CABasicAnimation   animationWithKeyPath   Types

    When using the ‘CABasicAnimation’ from the QuartzCore Framework in Objective-C, you have to specify an animationWithKeyPath.  This is a long string and is not easily listed in the CABasicAnimation, CAPropertyAnimation, or the CAAnimation class.  I ended up finding a handy chart within the Core Animation Programming guide in Apple’s iPhone OS Reference Library.  Hope this helps save someone time, at least it will for me.



    我们能够通过animationWithKeyPath键值对的方式来改变动画
    animationWithKeyPath的值:
     
    transform.scale = 比例轉換
    transform.scale.x = 闊的比例轉換
    transform.scale.y = 高的比例轉換
    transform.rotation.z = 平面圖的旋轉
    opacity = 透明度
     
    margin
    zPosition
     
    backgroundColor
     
    cornerRadius
    borderWidth
    
    
    frame
    bounds
    
    contents
    contentsRect
    cornerRadius
    
    hidden
    
    mask
    masksToBounds
    
    position
    
    shadowColor
    shadowOffset
    shadowOpacity
    shadowRadius


  • 相关阅读:
    Github markdown页面内跳转
    github gist 无法访问
    Install pyaudio on Ubuntu
    删除链表的倒数第N个节点
    电话号码的字母组合
    最长公共前缀
    盛最多水的容器
    字符串转化整数与回文数
    Z 字形变换
    LeetCode1-5题
  • 原文地址:https://www.cnblogs.com/gccbuaa/p/6859620.html
Copyright © 2011-2022 走看看