Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 21ba33e

Browse files
Merge pull request #97 from ytianhui/patch-2
Update [11]Matrix_3D_Camera.md
2 parents 40cd939 + 438ffe1 commit 21ba33e

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)

AltStyle によって変換されたページ (->オリジナル) /