Spec-Zone .ru
спецификации, руководства, описания, API
|
public class HLineTo 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(0.0f, 0.0f)); path.getElements().add(new HLineTo(80.0f));
Type | Property and Description |
---|---|
DoubleProperty |
x
Defines the X coordinate.
|
absolute
Constructor and Description |
---|
HLineTo()
Creates an empty instance of HLineTo.
|
HLineTo(double x)
Creates an instance of HLineTo.
|
Modifier and Type | Method and Description |
---|---|
double |
getX()
Gets the value of the property x.
|
void |
setX(double value)
Sets the value of the property x.
|
DoubleProperty |
xProperty()
Defines the X coordinate.
|
absoluteProperty, isAbsolute, setAbsolute
public final DoubleProperty xProperty
getX()
,
setX(double)
public HLineTo()
public HLineTo(double x)
x
- the horizontal coordinate to line topublic final void setX(double value)
public final double getX()
public final DoubleProperty xProperty()
getX()
,
setX(double)
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to