Examples of PositionAnchor


Examples of org.mt4j.components.visibleComponents.shapes.MTRectangle.PositionAnchor

                  float newYPos = 0 ;

                  //If there is a previous text, get its ending coordinates
                  //for the DX and DY shift info for the next text area
                  if (previousTextArea != null){
                    PositionAnchor oldAnchor = previousTextArea.getAnchor();
//                    previousTextArea.setAnchor(PositionAnchor.LOWER_RIGHT);
                    previousTextArea.setAnchor(PositionAnchor.UPPER_LEFT);
                    //Calculate last/current textposition for DX and DY use
                    //add up the last textareas start position end position(width)
                    Vector3D lastPos = previousTextArea.getPosition(TransformSpace.LOCAL);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.