public class HLineTo extends PathElement
パス要素の詳細は、Path
およびPathElement
クラスを参照してください。
例:
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 | プロパティと説明 |
---|---|
DoubleProperty |
x
X座標を定義します。
|
absolute
コンストラクタと説明 |
---|
HLineTo()
HLineToの空インスタンスを作成します。
|
HLineTo(double x)
HLineToのインスタンスを作成します。
|
修飾子と型 | メソッドと説明 |
---|---|
double |
getX()
プロパティxの値を取得します。
|
void |
setX(double value)
プロパティxの値を設定します。
|
String |
toString()
この
HLineTo オブジェクトの文字列表現を返します。 |
DoubleProperty |
xProperty()
X座標を定義します。
|
absoluteProperty、isAbsolute、setAbsolute
public final DoubleProperty xProperty
getX()
、setX(double)
public HLineTo()
public HLineTo(double x)
x
- 直線の到達点の水平座標public final void setX(double value)
public final double getX()
public final DoubleProperty xProperty()
getX()
、setX(double)
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.