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()
        Creates new ClosePath instance.
      • ClosePath

        public ClosePath​(boolean relative)
        Creates new ClosePath instance.
        Parameters:
        relative - true in case it is a relative operator, false if it is an absolute operator
    • Method Detail

      • draw

        public void draw()
        Description copied from class: AbstractPathShape
        Draws this instruction to a canvas object.
        Overrides:
        draw in class LineTo