public class AltGraphics
extends java.lang.Object
| コンストラクタと説明 |
|---|
AltGraphics() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
associate(java.awt.Graphics g)
グラフィックスを追加グラフィックスに関連付けします。
|
void |
drawArrow(int iX1,
int iY1,
int iX2,
int iY2)
点(iX1, iY1)と点(iX2, iY2)の間に矢印を引きます。
|
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)
線の太さを設定します。
|
public void associate(java.awt.Graphics g)
g - グラフィックスpublic java.awt.Graphics getGraphics()
public void setPenWidth(int iPenWidth)
iPenWidth - ペン(線)の太さpublic void drawArrow(int iX1,
int iY1,
int iX2,
int iY2)
iX1 - 最初の点の x 座標iY1 - 最初の点の y 座標iX2 - 2番目の点の x 座標iY2 - 2番目の点の y 座標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 - 楕円の高さ