|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Object | +--com.jblend.graphics.j3d.FigureLayout
モデルの描画レイアウト情報を表すクラス。
Graphics3D#drawFigureで指定される描画範囲内におけるモデルの向き、位置、サイズを保持します。
| コンストラクタの概要 | |
FigureLayout()
FigureLayoutコンストラクタ |
|
FigureLayout(AffineTrans trans,
int x_scale,
int y_scale,
int cx,
int cy)
FigureLayoutコンストラクタ |
|
| メソッドの概要 | |
AffineTrans |
getAffineTrans()
アフィン変換を取得する。 |
int |
getCenterX()
中心のX座標を取得する。 |
int |
getCenterY()
中心のY座標を取得する。 |
int |
getScaleX()
X軸方向のスケールを取得する。 |
int |
getScaleY()
Y軸方向のスケールを取得する。 |
void |
setAffineTrans(AffineTrans t)
アフィン変換を設定する。 |
void |
setCenter(int cx,
int cy)
描画時のモデルの中心を設定する。 |
void |
setScale(int x_scale,
int y_scale)
描画時のスケールを設定する。 |
| クラス java.lang.Object から継承したメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public FigureLayout()
public FigureLayout(AffineTrans trans,
int x_scale,
int y_scale,
int cx,
int cy)
t - アフィン変換(nullの場合、変換機能を利用しません)x_scale - X軸方向のスケールy_scale - Y軸方向のスケールcx - 描画範囲内における中心のX座標cy - 描画範囲内における中心のY座標IllegalArgumentException - 不正な値が入力された場合に発生します。| メソッドの詳細 |
public AffineTrans getAffineTrans()
public void setAffineTrans(AffineTrans t)
t - アフィン変換public int getScaleX()
public int getScaleY()
public void setScale(int x_scale,
int y_scale)
x_scale - X軸方向のスケールy_scale - Y軸方向のスケールpublic int getCenterX()
public int getCenterY()
public void setCenter(int cx,
int cy)
cx - 中心のX座標cy - 中心のY座標
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||