Package org.renjin.graphics.geom

Examples of org.renjin.graphics.geom.Margins


    return getFigureRect().normalize(getPlotRegionRect());
  }

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

TOP

Related Classes of org.renjin.graphics.geom.Margins

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.