|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.awt.geom.RectangularShape
java.awt.geom.Ellipse2D
java.awt.geom.Ellipse2D.Double
public static class Ellipse2D.Double
Double クラスは、double 精度で指定された楕円を定義します。
| 入れ子のクラスの概要 |
|---|
| クラス java.awt.geom.Ellipse2D から継承された入れ子のクラス/インタフェース |
|---|
Ellipse2D.Double, Ellipse2D.Float |
| フィールドの概要 | |
|---|---|
double |
height
Ellipse2D の高さです。 |
double |
width
Ellipse2D の幅です。 |
double |
x
Ellipse2D の左上隅の x 座標です。 |
double |
y
Ellipse2D の左上隅の y 座標です。 |
| コンストラクタの概要 | |
|---|---|
Ellipse2D.Double()
新しい Ellipse2D を構築し、位置 (0, 0) およびサイズ (0, 0) に初期化します。 |
|
Ellipse2D.Double(double x,
double y,
double w,
double h)
指定された座標から Ellipse2D を構築および初期化します。 |
|
| メソッドの概要 | |
|---|---|
Rectangle2D |
getBounds2D()
この Ellipse2D の高精度バウンディングボックスを返します。 |
double |
getHeight()
この Ellipse2D の高さを double 精度で返します。 |
double |
getWidth()
この Ellipse2D の幅を double 精度で返します。 |
double |
getX()
Ellipse2D の左上隅の X 座標を double 精度で返します。 |
double |
getY()
Ellipse2D の左上隅の Y 座標を double 精度で返します。 |
boolean |
isEmpty()
この Ellipse2D のバウンディングボックスが空であるかどうかを判断します。 |
void |
setFrame(double x,
double y,
double w,
double h)
この Ellipse2D の位置およびサイズを、指定された double 型の値に設定します。 |
| クラス java.awt.geom.Ellipse2D から継承されたメソッド |
|---|
contains, contains, getPathIterator, intersects |
| クラス java.awt.geom.RectangularShape から継承されたメソッド |
|---|
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, getPathIterator, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public double x
Ellipse2D の左上隅の x 座標です。
public double y
Ellipse2D の左上隅の y 座標です。
public double width
Ellipse2D の幅です。
public double height
Ellipse2D の高さです。
| コンストラクタの詳細 |
|---|
public Ellipse2D.Double()
Ellipse2D を構築し、位置 (0, 0) およびサイズ (0, 0) に初期化します。
public Ellipse2D.Double(double x,
double y,
double w,
double h)
Ellipse2D を構築および初期化します。
x, y - 境界の矩形の座標w - 矩形の幅h - 矩形の高さ| メソッドの詳細 |
|---|
public double getX()
Ellipse2D の左上隅の X 座標を double 精度で返します。
RectangularShape 内の getXEllipse2D のバウンディングボックスの左上隅の X 座標public double getY()
Ellipse2D の左上隅の Y 座標を double 精度で返します。
RectangularShape 内の getYEllipse2D のバウンディングボックスの左上隅の Y 座標public double getWidth()
Ellipse2D の幅を double 精度で返します。
RectangularShape 内の getWidthEllipse2D の幅public double getHeight()
Ellipse2D の高さを double 精度で返します。
RectangularShape 内の getHeightEllipse2D の高さpublic boolean isEmpty()
Ellipse2D のバウンディングボックスが空であるかどうかを判断します。
RectangularShape 内の isEmptyEllipse2D のバウンディングボックスが空である場合は true、そうでない場合は false
public void setFrame(double x,
double y,
double w,
double h)
Ellipse2D の位置およびサイズを、指定された double 型の値に設定します。
RectangularShape 内の setFramex, y - この Ellipse2D のバウンディングボックスの位置を設定する指定された座標w - この Ellipse2D に設定する幅h - この Ellipse2D に設定する高さRectangularShape.getFrame()public Rectangle2D getBounds2D()
Ellipse2D の高精度バウンディングボックスを返します。
Ellipse2D のバウンディングボックスである Rectangle2DShape.getBounds()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。