Skip to content

Commit 438ffe1

Browse files
authored
Update [11]Matrix_3D_Camera.md
misspell
1 parent 96f6da1 commit 438ffe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CustomView/Advance/[11]Matrix_3D_Camera.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
| 基本方法 | save、restore | 保存、 回滚 |
1717
| 常用方法 | getMatrix、applyToCanvas | 获取Matrix、应用到画布 |
1818
| 平移 | translate | 位移 |
19-
| 旋转 | rotat (API 12)、rotateX、rotateY、rotateZ | 各种旋转 |
19+
| 旋转 | rotate (API 12)、rotateX、rotateY、rotateZ | 各种旋转 |
2020
| 相机位置 | setLocation (API 12)、getLocationX (API 16)、getLocationY (API 16)、getLocationZ (API 16) | 设置与获取相机位置 |
2121

2222
> Camera的方法并不是特别多,很多内容与之前的讲解的Canvas和Matrix类似,不过又稍有不同,之前的画布操作和Matrix主要是作用于2D空间,而Camera则主要作用于3D空间。

0 commit comments

Comments
 (0)