//最小矩形(非透明最小区域) public static function getMinRect(target:BitmapData):Rectangle{ return target.getColorBoundsRect(0xffffffff,0x00000000,false); } //去除多余透明区域 public static function removeTransparentRect(target:BitmapData,minRect:Rectangle):BitmapDa…
目录:zxing->encoding->EncodingHandler类 中修改 createQRCode方法 private static final int BLACK = 0xff000000; private static final int WHITE = 0xffffffff; public static Bitmap createQRCode(String str,int widthAndHeight) throws WriterException { String conten…