public class VLineTo extends PathElement
パス要素の詳細は、PathおよびPathElementクラスを参照してください。
例:
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 | プロパティと説明 |
|---|---|
DoubleProperty |
y
Y座標を定義します。
|
absolute| コンストラクタと説明 |
|---|
VLineTo()
VLineToの空インスタンスを作成します。
|
VLineTo(double y)
VLineToのインスタンスを作成します。
|
| 修飾子と型 | メソッドと説明 |
|---|---|
double |
getY()
プロパティyの値を取得します。
|
void |
setY(double value)
プロパティyの値を設定します。
|
String |
toString()
この
VLineToオブジェクトの文字列表現を返します。 |
DoubleProperty |
yProperty()
Y座標を定義します。
|
absoluteProperty, isAbsolute, setAbsolutepublic final DoubleProperty yProperty
getY()、setY(double)public VLineTo()
public VLineTo(double y)
y - 直線の到達点の垂直座標public 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.