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));
Type | Property and Description |
---|---|
DoubleProperty |
y
Defines the Y coordinate.
|
absolute
Constructor and Description |
---|
VLineTo()
Creates an empty instance of VLineTo.
|
VLineTo(double y)
Creates an instance of VLineTo.
|
Modifier and Type | Method and Description |
---|---|
double |
getY()
Gets the value of the property y.
|
void |
setY(double value)
Sets the value of the property y.
|
String |
toString()
Returns a string representation of this
VLineTo object. |
DoubleProperty |
yProperty()
Defines the Y coordinate.
|
absoluteProperty, isAbsolute, setAbsolute
public final DoubleProperty yProperty
getY()
,
setY(double)
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()
getY()
,
setY(double)
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.