Class HLineTo

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

public class HLineTo extends PathElement
Creates a horizontal line path element from the current point to x.

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

Example:

import javafx.scene.shape.*;

Path path = new Path();
path.getElements().add(new MoveTo(0.0f, 0.0f));
path.getElements().add(new HLineTo(80.0f));
Since:
JavaFX 2.0