Class 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 Detail

      • ClosePathCommand

        public ClosePathCommand()
    • Method Detail

      • 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