|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectgraphics.AltGraphics
public class AltGraphics
追加のグラフィックス機能です。主にSmall Basicのグラフィックス機能の代替手段を提供します。
| コンストラクタの概要 | |
|---|---|
AltGraphics()
|
|
| メソッドの概要 | |
|---|---|
void |
associate(java.awt.Graphics g)
グラフィックスを追加グラフィックスに関連付けします。 |
void |
drawBoldLine(int iX1,
int iY1,
int iX2,
int iY2)
点(iX1, iY1)と点(iX2, iY2)の間に太い線を引きます。 |
void |
drawBoldOval(int iX0,
int iY0,
int iWidth,
int iHeight)
楕円の太い輪郭を描きます。 |
void |
drawBoldRect(int iX0,
int iY0,
int iWidth,
int iHeight)
矩形の太い輪郭を描きます。 |
java.awt.Graphics |
getGraphics()
関連付けられたグラフィックスを返します。 |
void |
setPenWidth(int iPenWidth)
線の太さを設定します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public AltGraphics()
| メソッドの詳細 |
|---|
public void associate(java.awt.Graphics g)
g - グラフィックスpublic java.awt.Graphics getGraphics()
public void setPenWidth(int iPenWidth)
public void drawBoldLine(int iX1,
int iY1,
int iX2,
int iY2)
iX1 - 最初の点の x 座標iY1 - 最初の点の y 座標iX2 - 2番目の点の x 座標iY2 - 2番目の点の y 座標
public void drawBoldRect(int iX0,
int iY0,
int iWidth,
int iHeight)
iX0 - 矩形の左上 x 座標iY0 - 矩形の左上 y 座標iWidth - 矩形の幅iHeight - 矩形の高さ
public void drawBoldOval(int iX0,
int iY0,
int iWidth,
int iHeight)
iX0 - 楕円の左上隅の x 座標iY0 - 楕円の左上隅の y 座標iWidth - 楕円の幅iHeight - 楕円の高さ
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||