cvj2.gui.swt.util
クラス GCX
java.lang.Object
cvj2.gui.swt.util.GCX
public class GCX
- extends java.lang.Object
GCのラッパークラス
メソッドの概要 |
void |
drawFocus(int x,
int y,
int width,
int height)
|
void |
drawImage(Image image,
int x,
int y)
|
void |
drawImage(Image image,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int destX,
int destY,
int destWidth,
int destHeight)
|
void |
drawLine(int x1,
int y1,
int x2,
int y2)
|
void |
drawOval(int x,
int y,
int width,
int height)
|
void |
drawPoint(int x,
int y)
|
void |
drawRectangle(int x,
int y,
int width,
int height)
|
void |
drawRectangle(Rectangle rect)
|
void |
drawString(java.lang.String string,
int x,
int y)
|
void |
drawText(java.lang.String string,
int x,
int y)
|
void |
fillRectangle(int x,
int y,
int width,
int height)
|
void |
fillRectangle(Rectangle rect)
|
Color |
getBackground()
|
Rectangle |
getClipping()
|
Color |
getForeground()
|
GC |
getGC()
|
void |
setBackground(Color color)
|
void |
setClipping(int x,
int y,
int width,
int height)
|
void |
setClipping(Rectangle rect)
|
void |
setForeground(Color color)
|
Point |
stringExtent(java.lang.String string)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GCX
public GCX(GC gc)
getGC
public GC getGC()
drawImage
public void drawImage(Image image,
int x,
int y)
drawImage
public void drawImage(Image image,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int destX,
int destY,
int destWidth,
int destHeight)
drawLine
public void drawLine(int x1,
int y1,
int x2,
int y2)
drawOval
public void drawOval(int x,
int y,
int width,
int height)
drawPoint
public void drawPoint(int x,
int y)
drawRectangle
public void drawRectangle(Rectangle rect)
drawRectangle
public void drawRectangle(int x,
int y,
int width,
int height)
fillRectangle
public void fillRectangle(Rectangle rect)
fillRectangle
public void fillRectangle(int x,
int y,
int width,
int height)
drawString
public void drawString(java.lang.String string,
int x,
int y)
drawText
public void drawText(java.lang.String string,
int x,
int y)
drawFocus
public void drawFocus(int x,
int y,
int width,
int height)
getClipping
public Rectangle getClipping()
setClipping
public void setClipping(Rectangle rect)
setClipping
public void setClipping(int x,
int y,
int width,
int height)
getBackground
public Color getBackground()
getForeground
public Color getForeground()
setBackground
public void setBackground(Color color)
setForeground
public void setForeground(Color color)
stringExtent
public Point stringExtent(java.lang.String string)