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


  • 相关阅读:
    springboot启动只显示图标不报错
    tmux常用
    ubuntu+anaconda+mxnet环境配置
    OpenCV学习笔记(二)
    c++基础
    c++算法实现(一)
    pytorch使用不完全文档
    ubuntu上传到百度网盘
    pickel加速caffe读图
    caffe常用
  • 原文地址:https://www.cnblogs.com/gccbuaa/p/6859620.html
Copyright © 2011-2022 走看看