Package org.openbp.cockpit.modeler.figures.generic

Examples of org.openbp.cockpit.modeler.figures.generic.Quarter


  public Orientation determine2WayOrientation(boolean vertical)
  {
    Rectangle centerBox = getCenterFigureBox();

    // Determine the quarter from the socket's orientation
    Quarter quarter = CircleConstants.determineQuarter(angle, centerBox);

    Orientation orientation;
    if (vertical)
    {
      orientation = quarter == Quarter.NW || quarter == Quarter.NE ? Orientation.TOP : Orientation.BOTTOM;
View Full Code Here

TOP

Related Classes of org.openbp.cockpit.modeler.figures.generic.Quarter

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.