使用 Ink API 为应用添加手写功能
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Ink API
提供了一种简单的方法,可将手写功能集成到 Android 应用中,从而消除图形和几何图形管理的复杂性。
该 API 包含可实现低延迟的 Jetpack 图形库,可实现统一的实现,确保在 Android 上获得尽可能流畅且响应迅速的墨迹书写体验。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Add inking to your app with the Ink API\n\nThe [`Ink API`](/jetpack/androidx/releases/ink#1.0.0-alpha01) provides a\nstraightforward approach to incorporating inking features into your Android\napplications, eliminating the complexities of graphics and geometry management.\n\nThe API includes the [Jetpack Graphics Library for low latency](https://source.android.com/docs/core/graphics) for a unified\nimplementation that ensures the smoothest and most responsive inking experience\npossible on Android."]]