[英]screen shot of a specific screen area in android
I was trying to take screen shot of a specific area of a Android screen programatically, i can take screen shot of a particular view, but is there any way to capture a specific area of a screen or view. 我试图以编程方式对Android屏幕的特定区域进行屏幕截图,可以对特定视图进行屏幕截图,但是有什么方法可以捕获屏幕或视图的特定区域。 I was trying with Surface view and want to capture specific co-ordinates. 我尝试使用“曲面”视图,但想捕获特定的坐标。
Thanks 谢谢
is there any way to capture a specific area of a screen or view 有什么方法可以捕获屏幕或视图的特定区域
Capture something larger, then cut out the "specific area" into a separate Bitmap
, probably using one of the createBitmap()
methods . 捕获更大的内容,然后可能使用createBitmap()
方法之一将“特定区域”切成单独的Bitmap
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.