Class ClosePath

  • All Implemented Interfaces:
    IPathShape

    public class ClosePath
    extends LineTo
    Implements closePath(Z) attribute of SVG's path element
    • Constructor Detail

      • ClosePath

        public ClosePath()
      • ClosePath

        public ClosePath​(boolean relative)
    • Method Detail

      • draw

        public void draw​(PdfCanvas canvas)
        Description copied from interface: IPathShape
        Draws this instruction to a canvas object.
        Specified by:
        draw in interface IPathShape
        Overrides:
        draw in class LineTo
        Parameters:
        canvas - to which this instruction is drawn