Package org.apache.batik.util.awt.geom

Examples of org.apache.batik.util.awt.geom.PathLength.pointAtLength()


      //float charMidPos = currentPosition + charAdvance / 2f;
      float charMidPos = currentPosition + glyphWidth / 2f;

      // Calculate the actual point to place the glyph around
      Point2D charMidPoint = pl.pointAtLength(charMidPos);

      // Check if the glyph is actually on the path

      if (charMidPoint != null) {
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.