Class ClosePathCommand

  • All Implemented Interfaces:
    ClosePathCommandIf, PathCommand

    public class ClosePathCommand
    extends java.lang.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>
     
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      void execute​(java.awt.geom.Path2D.Double path, Context ctx)
      Execute the command an append a segment to the specified path
      int hashCode()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClosePathCommand

        public ClosePathCommand()
    • Method Detail

      • execute

        public void execute​(java.awt.geom.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 java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object