{left: 51, right: 508, top: 676, bottom: 477}
从裁剪后的图像获得上限, 我只想要这个计算的高度和宽度这可能吗? You can see in this image
或者有任何属性可以获得吗?
答案 0 :(得分:0)
$scope.canvasWidth = $scope.bounds.right - $scope.bounds.left;
$scope.canvasHeight = $scope.bounds.top - $scope.bounds.bottom;