mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 20:15:28 -04:00
Use rectangle instead of package protected method.
This commit is contained in:
parent
2f06f2de6d
commit
e72700b032
@ -587,7 +587,7 @@ class ImageServletResponseImpl extends HttpServletResponseWrapper implements Ima
|
||||
|
||||
AreaOfInterest areaOfInterest = AreaOfInterestFactory.getDefault().
|
||||
createAreaOfInterest(pDefaultWidth, pDefaultHeight, aoiPercent, aoiUniform);
|
||||
aoi = areaOfInterest.getAOI(aoiX, aoiY, aoiW, aoiH);
|
||||
aoi = areaOfInterest.getAOI(new Rectangle(aoiX, aoiY, aoiW, aoiH));
|
||||
return aoi;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user