Class ClosePath

java.lang.Object
com.datalogics.PDFL.Segment
com.datalogics.PDFL.ClosePath

public class ClosePath extends Segment
An operator that completes a vector shape, drawing a line from the first point to the last point. A path is a series of commands that define the boundary of a vector shape. The ClosePath command draws a line from the current location back to its starting point, effectively closing a box or parabolic shape on a page.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Close the current subpath by appending a straight line segment from the current point to the starting point of the subpath.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ClosePath

      public ClosePath()
      Close the current subpath by appending a straight line segment from the current point to the starting point of the subpath. If the current subpath is already closed, ClosePath does nothing.

      This segment terminates the current subpath. Appending another segment to the current path begins a new subpath, even if the new segment begins at the endpoint reached by the ClosePath operation.

  • Method Details