Class ClosePathCommand

java.lang.Object
org.apache.poi.sl.draw.geom.ClosePathCommand
All Implemented Interfaces:
ClosePathCommandIf, PathCommand

public class ClosePathCommand extends Object implements ClosePathCommandIf

Java class for CT_Path2DClose complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Path2DClose">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     </restriction>
   </complexContent>
 </complexType>
 
  • Constructor Details

    • ClosePathCommand

      public ClosePathCommand()
  • Method Details

    • execute

      public void execute(Path2D.Double path, Context ctx)
      Description copied from interface: PathCommand
      Execute the command an append a segment to the specified path
      Specified by:
      execute in interface PathCommand
      Parameters:
      path - the path to append the result to
      ctx - the context to lookup variables
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object