Skip to content

Conversation

@rel-q
Copy link
Contributor

@rel-q rel-q commented Oct 20, 2025

Change-Id: Ia32249d5ca23dbe8aa8b026f2dfd82776fe56b4a

@netlify
Copy link

netlify bot commented Oct 20, 2025

Deploy Preview for lynx-doc ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 318e069
🔍 Latest deploy log https://app.netlify.com/projects/lynx-doc/deploys/69146a7f36b3a30008c431dc
😎 Deploy Preview https://deploy-preview-456--lynx-doc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@rel-q rel-q force-pushed the p/baiqiang/takeScreenshot branch from cb692e2 to ea6c8af Compare October 20, 2025 11:15
该操作会占用主线程耗时,需要注意调用频率。

Android 上使用时需要在对应节点设置 [`flatten`](#flatten)`false`
Android 上使用时需要在对应节点设置 [`flatten`](#flatten)`false`,在 SDK 版本大于等于 3.5 支持 `androidEnablePixelCopy`[PixelCopy](https://developer.android.com/reference/android/view/PixelCopy)方式截图
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里能解释一下 androidEanblePixelCopy 之后会有什么效果吗

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View.draw 软绘和 PixelCopy 接口获取 surface 像素的区别

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不懂Android绘制原理的读者应该是看不懂 这个描述的。

建议用一个开启和不开启截图效果不一致的图片来向开发者解释这个差异。

Copy link
Collaborator

@loongliu loongliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a comment

@rel-q rel-q force-pushed the p/baiqiang/takeScreenshot branch 3 times, most recently from 5d162da to a5ab0d8 Compare October 28, 2025 07:56
Change-Id: Ia32249d5ca23dbe8aa8b026f2dfd82776fe56b4a
@rel-q rel-q force-pushed the p/baiqiang/takeScreenshot branch from a5ab0d8 to 318e069 Compare November 12, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants