例如,如果我使用 Notes 应用程序进行绘图,我可以看到有一个可用于手写的自定义工具。现在就我而言,我不想实现手写,但我需要一个自定义工具,可以用来绘制箭头等元素。简而言之,我需要一支可裁剪的铅笔,它可以让我检测触摸并通过读取触摸来直接绘图。
\n现在,如果我阅读PKTool文档,它会说:
\nDon\xe2\x80\x99t adopt this protocol in your own objects. Instead, create a tool object to provide users with the desired the tool behavior.\nRun Code Online (Sandbox Code Playgroud)\n但只有一组预定义的工具。是否可以像 Notes 应用程序一样实现我自己的工具?
\n\n| 归档时间: |
|
| 查看次数: |
707 次 |
| 最近记录: |