public class VLineTo extends PathElement
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(50.0f, 0.0f)); path.getElements().add(new VLineTo(50.0f));
Modifier and Type | Field and Description |
---|---|
private DoubleProperty |
y
Defines the Y coordinate.
|
impl_nodes
Constructor and Description |
---|
VLineTo()
Creates an empty instance of VLineTo.
|
VLineTo(double y)
Creates an instance of VLineTo.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
addTo(NGPath pgPath) |
double |
getY() |
void |
impl_addTo(Path2D path)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
void |
setY(double value) |
java.lang.String |
toString()
Returns a string representation of this
VLineTo object. |
DoubleProperty |
yProperty() |
absoluteProperty, addNode, isAbsolute, removeNode, setAbsolute, u
private DoubleProperty y
public VLineTo()
public VLineTo(double y)
y
- the vertical coordinate to line topublic final void setY(double value)
public final double getY()
public final DoubleProperty yProperty()
void addTo(NGPath pgPath)
addTo
in class PathElement
@Deprecated public void impl_addTo(Path2D path)
impl_addTo
in class PathElement
public java.lang.String toString()
VLineTo
object.toString
in class java.lang.Object
VLineTo
object.