---
title: "CABasicAnimation的keypath的取值"
author: "goAheadtw"
date: "2014-10-17T09:32:16Z"
tags: []
categories: ["编程语言"]
slug: "cabasicanimation-keypath"
draft: false
lastmod: "2014-10-17T09:32:16Z"
id: 2144426
url: "https://goaheadtw.iteye.com/blog/2144426"
---

transform.scale = 比例轉換

    transform.scale.x = 闊的比例轉換

    transform.scale.y = 高的比例轉換

    transform.rotation.z = 平面圖的旋轉

    opacity = 透明度

    margin

    zPosition

    backgroundColor    背景颜色

    cornerRadius    圆角

    borderWidth

    bounds

    contents

    contentsRect

    cornerRadius

    frame

    hidden

    mask

    masksToBounds

    opacity

    position

    shadowColor

    shadowOffset

    shadowOpacity

    shadowRadius