return getFigureRect().normalize(getPlotRegionRect());
}
private Rectangle getPlotRegionRect() {
Rectangle figureInDevice = getFigureRect();
Margins innerMarginsInDeviceUnits = innerMargins.multiplyBy(getLineSize());
Rectangle plotRegionInDeviceUnits = figureInDevice.apply(innerMarginsInDeviceUnits);
return plotRegionInDeviceUnits;
}