Class ClosePath

All Implemented Interfaces:
IPathShape

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

    • 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 Details

    • draw

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