The Problem Flexbox makes centering very easy. By simply applying align-items: center and justify-content: center to the flex container, your flex item(s) will be vertically and horizontally centered. However, there is a problem with this method when
//最小矩形(非透明最小区域) public static function getMinRect(target:BitmapData):Rectangle{ return target.getColorBoundsRect(0xffffffff,0x00000000,false); } //去除多余透明区域 public static function removeTransparentRect(target:BitmapData,minRect:Rectangle):BitmapDa