开发者

Canvas Height & Width Problem

My Problem is I am Using Face Detector Example from Following Link but How开发者_运维百科 To Find Square Height & Width and Replace Image on Square Same as Square Height & Width.Sorry for Bad English Communication.

http://downloads.ziddu.com/downloadfile/9930500/AndroidFaceDetector_files_100520a.zip.html

Please Help Me.


Get the height and width from canvas.getHeight,canvas.getWidth respectively and then make a new bitmap with same size and set it to the canvas. Hope this'll help you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜