|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--java.awt.geom.Point2D
|
+--java.awt.geom.Point2D.Double
Double クラスは、double 精度で指定された点を定義します。
| クラス java.awt.geom.Point2D から継承した内部クラス |
Point2D.Double, Point2D.Float |
| フィールドの概要 | |
double |
x
この Point2D の X 座標です。 |
double |
y
この Point2D の Y 座標です。 |
| コンストラクタの概要 | |
Point2D.Double()
座標 (0, 0) で Point2D を構築および初期化します。 |
|
Point2D.Double(double x,
double y)
指定された座標で Point2D を構築および初期化します。 |
|
| メソッドの概要 | |
double |
getX()
この Point2D の X 座標を double 精度で返します。 |
double |
getY()
この Point2D の Y 座標を double 精度で返します。 |
void |
setLocation(double x,
double y)
この Point2D の位置を、指定された double 型の座標に設定します。 |
String |
toString()
この Point2D の値を表す String を返します。 |
| クラス java.awt.geom.Point2D から継承したメソッド |
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation |
| クラス java.lang.Object から継承したメソッド |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
public double x
Point2D の X 座標です。public double y
Point2D の Y 座標です。| コンストラクタの詳細 |
public Point2D.Double()
Point2D を構築および初期化します。
public Point2D.Double(double x,
double y)
Point2D を構築および初期化します。x, y - 新しく構築される Point2D の座標| メソッドの詳細 |
public double getX()
Point2D の X 座標を double 精度で返します。Point2D 内の getXPoint2D の X 座標public double getY()
Point2D の Y 座標を double 精度で返します。Point2D 内の getYPoint2D の Y 座標
public void setLocation(double x,
double y)
Point2D の位置を、指定された double 型の座標に設定します。Point2D 内の setLocationx, y - この Point2D の座標public String toString()
Point2D の値を表す String を返します。Object 内の toStringPoint2D の文字列表現
|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.