Class ClosePath

java.lang.Object
javafx.scene.shape.PathElement
javafx.scene.shape.ClosePath

public class ClosePath extends PathElement
A path element which closes the current path.

For more information on path elements see the Path and PathElement classes.

Since:
JavaFX 2.0
  • Constructor Details

    • ClosePath

      public ClosePath()
      Creates an empty instance of ClosePath.
  • Method Details

    • toString

      public String toString()
      Returns a string representation of this ArcTo object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of this ArcTo object.
    • appendToSvgPath

      public void appendToSvgPath(StringBuilder sb)
      Specified by:
      appendToSvgPath in class PathElement