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)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.