Class RMPathOffsetter

java.lang.Object
com.reportmill.graphics.RMPathOffsetter

public class RMPathOffsetter extends Object
Offset path - a path that follows the curvature of the input path but is located a constant distance away from the curve.

Mathematically, the offset path is the path defined by tracing the normal to the curve, scaled by d, along the entire path.

  • Constructor Details

    • RMPathOffsetter

      public RMPathOffsetter()
  • Method Details

    • createOffsetPath

      public static RMPath createOffsetPath(RMPath inPath, float offset)
    • hitInfo

      public static RMHitInfo hitInfo(RMLine l1, RMLine l2)
      Dispatches to the right call depending on the subclass. Frees the caller from the burden of casting to get the right routine.