Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quartz 2D 在 Swift 中的应用 | PierceDark #7

Open
YunyueLin opened this issue Apr 19, 2018 · 0 comments
Open

Quartz 2D 在 Swift 中的应用 | PierceDark #7

YunyueLin opened this issue Apr 19, 2018 · 0 comments

Comments

@YunyueLin
Copy link
Owner

https://yunyuelin.github.io/2017/09/26/Quartz-2D-%E5%9C%A8-Swift-%E4%B8%AD%E7%9A%84%E5%BA%94%E7%94%A8/#more

Quartz 2D是一个二维绘图引擎,同时支持iOS和Mac系统。其实 iOS 中很多控件都是通过 Quartz 2D 画出来的.同时Quartz 2D还可以做这些事情,12341、剪裁图形2、涂鸦/画板(如签名等)3、手势解锁(连线)4、折线图、饼状图、柱形图等绘制(虽然我都是直接用 charts) 使用 Quartz 2D绘图的核心步骤:1234561、获得上下文2、绘制/拼接绘图路径3、将路

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant