|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
java.lang.Objectjava.awt.Graphics
javax.swing.DebugGraphics
public class DebugGraphics
그래픽스의 디버그를 지원하는 Graphics 의 서브 클래스입니다. Graphics 로부터의 대부분의 메소드를 오버라이드(override) 합니다. DebugGraphics 객체를 수작업으로 구축하는 것은 거의 없습니다. 이러한 객체는 일반적으로, JComponent 의 debugGraphicsOptions 가 setDebugGraphicsOptions() 메소드를 사용해 변경되었을 때에 자동적으로 작성됩니다.
주:DebugGraphics 를 사용하려면 , 더블 버퍼링을 오프로 설정하지 않으면 안됩니다. RepaintManager repaintManager = RepaintManager.currentManager(component); repaintManager.setDoubleBufferingEnabled(false);
JComponent.setDebugGraphicsOptions(int)
,
RepaintManager.currentManager(java.awt.Component)
,
RepaintManager.setDoubleBufferingEnabled(boolean)
필드의 개요 | |
---|---|
static int |
BUFFERED_OPTION
독립한 Frame 에서의 버퍼 이용 처리를 나타냅니다. |
static int |
FLASH_OPTION
그래픽스 처리를 플래시 합니다. |
static int |
LOG_OPTION
그래픽스 처리의 로그를 취합니다. |
static int |
NONE_OPTION
그래픽스 처리를 디버그 하지 않습니다. |
생성자 의 개요 | |
---|---|
DebugGraphics ()
속도의 늦은 draw를 지원하는 새로운 디버그 그래픽스 문맥을 구축합니다. |
|
DebugGraphics (Graphics graphics)
기존의 그래픽스 문맥으로부터, 속도의 늦은 draw를 지원하는 디버그 그래픽스 문맥을 구축합니다. |
|
DebugGraphics (Graphics graphics,
JComponent component)
기존의 그래픽스 문맥으로부터, 지정된 컴퍼넌트의 draw 속도를 늦게 하는 디버그 그래픽스 문맥을 구축합니다. |
메소드의 개요 | |
---|---|
void |
clearRect (int x,
int y,
int width,
int height)
Graphics.clearRect 를 오버라이드(override) 합니다. |
void |
clipRect (int x,
int y,
int width,
int height)
Graphics.clipRect 를 오버라이드(override) 합니다. |
void |
copyArea (int x,
int y,
int width,
int height,
int destX,
int destY)
Graphics.copyArea 를 오버라이드(override) 합니다. |
Graphics |
create ()
Graphics.create 를 오버라이드(override) 해, DebugGraphics 객체를 돌려주도록(듯이) 합니다. |
Graphics |
create (int x,
int y,
int width,
int height)
Graphics.create 를 오버라이드(override) 해, DebugGraphics 객체를 돌려주도록(듯이) 합니다. |
void |
dispose ()
Graphics.dispose 를 오버라이드(override) 합니다. |
void |
draw3DRect (int x,
int y,
int width,
int height,
boolean raised)
Graphics.draw3DRect 을 오버라이드(override) 합니다. |
void |
drawArc (int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
Graphics.drawArc 를 오버라이드(override) 합니다. |
void |
drawBytes (byte[] data,
int offset,
int length,
int x,
int y)
Graphics.drawBytes 를 오버라이드(override) 합니다. |
void |
drawChars (char[] data,
int offset,
int length,
int x,
int y)
Graphics.drawChars 를 오버라이드(override) 합니다. |
boolean |
drawImage (Image img,
int x,
int y,
Color bgcolor,
ImageObserver observer)
Graphics.drawImage 를 오버라이드(override) 합니다. |
boolean |
drawImage (Image img,
int x,
int y,
ImageObserver observer)
Graphics.drawImage 를 오버라이드(override) 합니다. |
boolean |
drawImage (Image img,
int x,
int y,
int width,
int height,
Color bgcolor,
ImageObserver observer)
Graphics.drawImage 를 오버라이드(override) 합니다. |
boolean |
drawImage (Image img,
int x,
int y,
int width,
int height,
ImageObserver observer)
Graphics.drawImage 를 오버라이드(override) 합니다. |
boolean |
drawImage (Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
Color bgcolor,
ImageObserver observer)
Graphics.drawImage 를 오버라이드(override) 합니다. |
boolean |
drawImage (Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
ImageObserver observer)
Graphics.drawImage 를 오버라이드(override) 합니다. |
void |
drawLine (int x1,
int y1,
int x2,
int y2)
Graphics.drawLine 를 오버라이드(override) 합니다. |
void |
drawOval (int x,
int y,
int width,
int height)
Graphics.drawOval 를 오버라이드(override) 합니다. |
void |
drawPolygon (int[] xPoints,
int[] yPoints,
int nPoints)
Graphics.drawPolygon 를 오버라이드(override) 합니다. |
void |
drawPolyline (int[] xPoints,
int[] yPoints,
int nPoints)
Graphics.drawPolyline 를 오버라이드(override) 합니다. |
void |
drawRect (int x,
int y,
int width,
int height)
Graphics.drawRect 를 오버라이드(override) 합니다. |
void |
drawRoundRect (int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
Graphics.drawRoundRect 를 오버라이드(override) 합니다. |
void |
drawString (AttributedCharacterIterator iterator,
int x,
int y)
Graphics.drawString 을 오버라이드(override) 합니다. |
void |
drawString (String aString,
int x,
int y)
Graphics.drawString 을 오버라이드(override) 합니다. |
void |
fill3DRect (int x,
int y,
int width,
int height,
boolean raised)
Graphics.fill3DRect 을 오버라이드(override) 합니다. |
void |
fillArc (int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
Graphics.fillArc 를 오버라이드(override) 합니다. |
void |
fillOval (int x,
int y,
int width,
int height)
Graphics.fillOval 를 오버라이드(override) 합니다. |
void |
fillPolygon (int[] xPoints,
int[] yPoints,
int nPoints)
Graphics.fillPolygon 를 오버라이드(override) 합니다. |
void |
fillRect (int x,
int y,
int width,
int height)
Graphics.fillRect 를 오버라이드(override) 합니다. |
void |
fillRoundRect (int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
Graphics.fillRoundRect 를 오버라이드(override) 합니다. |
static Color |
flashColor ()
draw 처리를 플래시 하는데 사용하는 색을 돌려줍니다. |
static int |
flashCount ()
draw 처리가 플래시 하는 회수를 돌려줍니다. |
static int |
flashTime ()
draw 처리 플래시의 시간 지연을 돌려줍니다. |
Shape |
getClip ()
Graphics.getClip 를 오버라이드(override) 합니다. |
Rectangle |
getClipBounds ()
Graphics.getClipBounds 를 오버라이드(override) 합니다. |
Color |
getColor ()
텍스트 draw 처리에 사용하는 색을 돌려줍니다. |
int |
getDebugOptions ()
DebugGraphics 의 현재의 디버그 옵션을 돌려줍니다. |
Font |
getFont ()
텍스트 draw 처리에 사용하는 폰트를 돌려줍니다. |
FontMetrics |
getFontMetrics ()
Graphics.getFontMetrics 를 오버라이드(override) 합니다. |
FontMetrics |
getFontMetrics (Font f)
Graphics.getFontMetrics 를 오버라이드(override) 합니다. |
boolean |
isDrawingBuffer ()
drawingBuffer 의 값을 돌려줍니다. |
static PrintStream |
logStream ()
DebugGraphics 가 draw 처리의 로그를 취하는 스트림을 돌려줍니다. |
void |
setClip (int x,
int y,
int width,
int height)
Graphics.setClip 를 오버라이드(override) 합니다. |
void |
setClip (Shape clip)
Graphics.setClip 를 오버라이드(override) 합니다. |
void |
setColor (Color aColor)
선과 형상을 draw 해 전부 칠하는데 사용하는 색을 설정합니다. |
void |
setDebugOptions (int options)
각 그래픽스 처리에 대한 진단 정보를 유효 또는 무효로 합니다. |
static void |
setFlashColor (Color flashColor)
draw 처리를 플래시 하는데 사용하는 색을 설정합니다. |
static void |
setFlashCount (int flashCount)
draw 처리가 플래시 하는 회수를 설정합니다. |
static void |
setFlashTime (int flashTime)
draw 처리 플래시의 시간 지연을 설정합니다. |
void |
setFont (Font aFont)
텍스트 draw 처리에 사용하는 폰트를 설정합니다. |
static void |
setLogStream (PrintStream stream)
DebugGraphics 가 draw 처리의 로그를 취하는 스트림을 설정합니다. |
void |
setPaintMode ()
Graphics.setPaintMode 를 오버라이드(override) 합니다. |
void |
setXORMode (Color aColor)
Graphics.setXORMode 을 오버라이드(override) 합니다. |
void |
translate (int x,
int y)
Graphics.translate 를 오버라이드(override) 합니다. |
클래스 java.awt. Graphics 로부터 상속된 메소드 |
---|
drawPolygon , fillPolygon , finalize , getClipBounds , getClipRect , hitClip , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , getClass , hashCode , notify , notifyAll , wait , wait , wait |
필드의 상세 |
---|
public static final int LOG_OPTION
public static final int FLASH_OPTION
public static final int BUFFERED_OPTION
Frame
에서의 버퍼 이용 처리를 나타냅니다.
public static final int NONE_OPTION
생성자 의 상세 |
---|
public DebugGraphics()
public DebugGraphics(Graphics graphics, JComponent component)
graphics
- draw 속도를 늦게 하는 그래픽스 문맥component
- 쉰 속도로 draw 되는 JComponentpublic DebugGraphics(Graphics graphics)
graphics
- draw 속도를 늦게 하는 그래픽스 문맥메소드의 상세 |
---|
public Graphics create()
Graphics.create
를 오버라이드(override) 해, DebugGraphics 객체를 돌려주도록(듯이) 합니다.
Graphics
내의 create
public Graphics create(int x, int y, int width, int height)
Graphics.create
를 오버라이드(override) 해, DebugGraphics 객체를 돌려주도록(듯이) 합니다.
Graphics
내의 create
x
- x 좌표y
- y 좌표width
- 클리핑 구형의 폭height
- 클리핑 구형의 높이
Graphics.translate(int, int)
,
Graphics.clipRect(int, int, int, int)
public static void setFlashColor(Color flashColor)
public static Color flashColor()
setFlashColor(java.awt.Color)
public static void setFlashTime(int flashTime)
public static int flashTime()
setFlashTime(int)
public static void setFlashCount(int flashCount)
public static int flashCount()
setFlashCount(int)
public static void setLogStream(PrintStream stream)
public static PrintStream logStream()
setLogStream(java.io.PrintStream)
public void setFont(Font aFont)
Graphics
내의 setFont
aFont
- 폰트Graphics.getFont()
,
Graphics.drawString(java.lang.String, int, int)
,
Graphics.drawBytes(byte[], int, int, int, int)
,
Graphics.drawChars(char[], int, int, int, int)
public Font getFont()
Graphics
내의 getFont
setFont(java.awt.Font)
public void setColor(Color aColor)
Graphics
내의 setColor
aColor
- 새로운 draw색Color
,
Graphics.getColor()
public Color getColor()
Graphics
내의 getColor
setColor(java.awt.Color)
public FontMetrics getFontMetrics()
Graphics.getFontMetrics
를 오버라이드(override) 합니다.
Graphics
내의 getFontMetrics
Graphics.getFont()
,
FontMetrics
,
Graphics.getFontMetrics(Font)
public FontMetrics getFontMetrics(Font f)
Graphics.getFontMetrics
를 오버라이드(override) 합니다.
Graphics
내의 getFontMetrics
f
- 지정된 폰트
Graphics.getFont()
,
FontMetrics
,
Graphics.getFontMetrics()
public void translate(int x, int y)
Graphics.translate
를 오버라이드(override) 합니다.
Graphics
내의 translate
x
- x 좌표y
- y 좌표public void setPaintMode()
Graphics.setPaintMode
를 오버라이드(override) 합니다.
Graphics
내의 setPaintMode
public void setXORMode(Color aColor)
Graphics.setXORMode
을 오버라이드(override) 합니다.
Graphics
내의 setXORMode
aColor
- XOR 의 교대색public Rectangle getClipBounds()
Graphics.getClipBounds
를 오버라이드(override) 합니다.
Graphics
내의 getClipBounds
null
Graphics.getClip()
,
Graphics.clipRect(int, int, int, int)
,
Graphics.setClip(int, int, int, int)
,
Graphics.setClip(Shape)
public void clipRect(int x, int y, int width, int height)
Graphics.clipRect
를 오버라이드(override) 합니다.
Graphics
내의 clipRect
x
- 교차해 클립 하는 구형의 x 좌표y
- 교차해 클립 하는 구형의 y 좌표width
- 교차해 클립 하는 구형의 폭height
- 교차해 클립 하는 구형의 높이Graphics.setClip(int, int, int, int)
,
Graphics.setClip(Shape)
public void setClip(int x, int y, int width, int height)
Graphics.setClip
를 오버라이드(override) 합니다.
Graphics
내의 setClip
x
- 새로운 클립 구형의 x 좌표y
- 새로운 클립 구형의 y 좌표width
- 새로운 클립 구형의 폭height
- 새로운 클립 구형의 높이Graphics.clipRect(int, int, int, int)
,
Graphics.setClip(Shape)
,
Graphics.getClip()
public Shape getClip()
Graphics.getClip
를 오버라이드(override) 합니다.
Graphics
내의 getClip
Shape
객체. 클립이 설정되어 있지 않은 경우는
null
Graphics.getClipBounds()
,
Graphics.clipRect(int, int, int, int)
,
Graphics.setClip(int, int, int, int)
,
Graphics.setClip(Shape)
public void setClip(Shape clip)
Graphics.setClip
를 오버라이드(override) 합니다.
Graphics
내의 setClip
clip
- 클립 설정에 사용하는 Shape
Graphics.getClip()
,
Graphics.clipRect(int, int, int, int)
,
Graphics.setClip(int, int, int, int)
public void drawRect(int x, int y, int width, int height)
Graphics.drawRect
를 오버라이드(override) 합니다.
Graphics
내의 drawRect
x
- draw 된다
구형의 x 좌표y
- draw 된다
구형의 y 좌표width
- draw 되는 구형의 폭height
- draw 되는 구형의 높이Graphics.fillRect(int, int, int, int)
,
Graphics.clearRect(int, int, int, int)
public void fillRect(int x, int y, int width, int height)
Graphics.fillRect
를 오버라이드(override) 합니다.
Graphics
내의 fillRect
x
- 전부 칠해진다
구형의 x 좌표y
- 전부 칠해진다
구형의 y 좌표width
- 전부 칠해지는 구형의 폭height
- 전부 칠해지는 구형의 높이Graphics.clearRect(int, int, int, int)
,
Graphics.drawRect(int, int, int, int)
public void clearRect(int x, int y, int width, int height)
Graphics.clearRect
를 오버라이드(override) 합니다.
Graphics
내의 clearRect
x
- 클리어 대상의 구형의 x 좌표y
- 클리어 대상의 구형의 y 좌표width
- 클리어 대상의 구형의 폭height
- 클리어 대상의 구형의 높이Graphics.fillRect(int, int, int, int)
,
Graphics.drawRect(int, int, int, int)
,
Graphics.setColor(java.awt.Color)
,
Graphics.setPaintMode()
,
Graphics.setXORMode(java.awt.Color)
public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
Graphics.drawRoundRect
를 오버라이드(override) 합니다.
Graphics
내의 drawRoundRect
x
- draw 되는 구형의 x 좌표y
- draw 되는 구형의 y 좌표width
- draw 되는 구형의 폭height
- draw 되는 구형의 높이arcWidth
- 4 구석의 호의 수평 방향의
직경arcHeight
- 4 구석의 호의 수직 방향의
직경Graphics.fillRoundRect(int, int, int, int, int, int)
public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
Graphics.fillRoundRect
를 오버라이드(override) 합니다.
Graphics
내의 fillRoundRect
x
- 전부 칠해지는 구형의 x 좌표y
- 전부 칠해지는 구형의 y 좌표width
- 전부 칠해지는 구형의 폭height
- 전부 칠해지는 구형의 높이arcWidth
- 4 구석의 호의 수평 방향의
직경arcHeight
- 4 구석의 호의 수직 방향의
직경Graphics.drawRoundRect(int, int, int, int, int, int)
public void drawLine(int x1, int y1, int x2, int y2)
Graphics.drawLine
를 오버라이드(override) 합니다.
Graphics
내의 drawLine
x1
- 최초의 점의 x 좌표y1
- 최초의 점의 y 좌표x2
- 2 번째의 점의 x 좌표y2
- 2 번째의 점의 y 좌표public void draw3DRect(int x, int y, int width, int height, boolean raised)
Graphics.draw3DRect
을 오버라이드(override) 합니다.
Graphics
내의 draw3DRect
x
- draw 되는 구형의 x 좌표y
- draw 되는 구형의 y 좌표width
- draw 되는 구형의 폭height
- draw 되는 구형의 높이raised
- 구형이 표면으로부터 떠오른 것처럼 보이는지,
표면에 조각해 붐비어진 것처럼 보이는지를 지정한다
boolean 치Graphics.fill3DRect(int, int, int, int, boolean)
public void fill3DRect(int x, int y, int width, int height, boolean raised)
Graphics.fill3DRect
을 오버라이드(override) 합니다.
Graphics
내의 fill3DRect
x
- 전부 칠해지는 구형의 x 좌표y
- 전부 칠해지는 구형의 y 좌표width
- 전부 칠해지는 구형의 폭height
- 전부 칠해지는 구형의 높이raised
- 구형이 표면으로부터 떠오른 것처럼 보이는지,
표면에 조각해 붐비어진 것처럼 보이는지를 지정한다
boolean 치Graphics.draw3DRect(int, int, int, int, boolean)
public void drawOval(int x, int y, int width, int height)
Graphics.drawOval
를 오버라이드(override) 합니다.
Graphics
내의 drawOval
x
- draw 되는 타원의 좌상구석의
x 좌표y
- draw 되는 타원의 좌상구석의
y 좌표width
- draw 되는 타원의 폭height
- draw 되는 타원의 높이Graphics.fillOval(int, int, int, int)
public void fillOval(int x, int y, int width, int height)
Graphics.fillOval
를 오버라이드(override) 합니다.
Graphics
내의 fillOval
x
- 전부 칠해지는 타원의 좌상구석의
x 좌표y
- 전부 칠해지는 타원의 좌상구석의
y 좌표width
- 전부 칠해지는 타원의 폭height
- 전부 칠해지는 타원의 높이Graphics.drawOval(int, int, int, int)
public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)
Graphics.drawArc
를 오버라이드(override) 합니다.
Graphics
내의 drawArc
x
- draw 되는 호의 좌상구석의
x 좌표y
- draw 되는 호의 좌상구석의
y 좌표width
- draw 되는 고의 폭height
- draw 되는 고의 높이startAngle
- 개시 각도arcAngle
- 개시 각도에 대한 호의
전개 각도의 크기Graphics.fillArc(int, int, int, int, int, int)
public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)
Graphics.fillArc
를 오버라이드(override) 합니다.
Graphics
내의 fillArc
x
- 전부 칠해지는 호의 좌상구석의
x 좌표y
- 전부 칠해지는 호의 좌상구석의
y 좌표width
- 전부 칠해지는 고의 폭height
- 전부 칠해지는 고의 높이startAngle
- 개시 각도arcAngle
- 개시 각도에 대한 호의
전개 각도의 크기Graphics.drawArc(int, int, int, int, int, int)
public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints)
Graphics.drawPolyline
를 오버라이드(override) 합니다.
Graphics
내의 drawPolyline
xPoints
- x 점의 배열yPoints
- y 점의 배열nPoints
- 점의 총수Graphics.drawPolygon(int[], int[], int)
public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints)
Graphics.drawPolygon
를 오버라이드(override) 합니다.
Graphics
내의 drawPolygon
xPoints
- x
좌표의 배열yPoints
- y
좌표의 배열nPoints
- 점의 총수Graphics.fillPolygon(int[], int[], int)
,
Graphics.drawPolyline(int[], int[], int)
public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints)
Graphics.fillPolygon
를 오버라이드(override) 합니다.
Graphics
내의 fillPolygon
xPoints
- x
좌표의 배열yPoints
- y
좌표의 배열nPoints
- 점의 총수Graphics.drawPolygon(int[], int[], int)
public void drawString(String aString, int x, int y)
Graphics.drawString
을 오버라이드(override) 합니다.
Graphics
내의 drawString
aString
- draw 되는 캐릭터 라인x
- x 좌표y
- y 좌표Graphics.drawBytes(byte[], int, int, int, int)
,
Graphics.drawChars(char[], int, int, int, int)
public void drawString(AttributedCharacterIterator iterator, int x, int y)
Graphics.drawString
을 오버라이드(override) 합니다.
Graphics
내의 drawString
iterator
- draw 되는 텍스트를 가지는 반복자x
- x 좌표y
- y 좌표Graphics.drawBytes(byte[], int, int, int, int)
,
Graphics.drawChars(char[], int, int, int, int)
public void drawBytes(byte[] data, int offset, int length, int x, int y)
Graphics.drawBytes
를 오버라이드(override) 합니다.
Graphics
내의 drawBytes
data
- draw 되는 데이터offset
- 데이터의 개시 오프셋(offset)length
- draw 되는 바이트수x
- 텍스트의 baseline의 x 좌표y
- 텍스트의 baseline의 y 좌표Graphics.drawChars(char[], int, int, int, int)
,
Graphics.drawString(java.lang.String, int, int)
public void drawChars(char[] data, int offset, int length, int x, int y)
Graphics.drawChars
를 오버라이드(override) 합니다.
Graphics
내의 drawChars
data
- draw 되는 문자의 배열offset
- 데이터의 개시 오프셋(offset)length
- draw 되는 문자수x
- 텍스트의 baseline의 x 좌표y
- 텍스트의 baseline의 y 좌표Graphics.drawBytes(byte[], int, int, int, int)
,
Graphics.drawString(java.lang.String, int, int)
public boolean drawImage(Image img, int x, int y, ImageObserver observer)
Graphics.drawImage
를 오버라이드(override) 합니다.
Graphics
내의 drawImage
img
- draw 되는 지정 이미지img
가
null 의 경우에는 아무것도 실시하지 않는x
- x 좌표y
- y 좌표observer
- 이미지가 한층 더 변환되는 것이
통지되는 객체
false
,
그렇지 않은 경우는 true
Image
,
ImageObserver
,
ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)
public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)
Graphics.drawImage
를 오버라이드(override) 합니다.
Graphics
내의 drawImage
img
- draw 되는 지정 이미지img
가
null 의 경우에는 아무것도 실시하지 않는x
- x 좌표y
- y 좌표width
- 구형의 폭height
- 구형의 높이observer
- 이미지가 한층 더 변환되는 것이
통지되는 객체
false
,
그렇지 않은 경우는 true
Image
,
ImageObserver
,
ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)
public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)
Graphics.drawImage
를 오버라이드(override) 합니다.
Graphics
내의 drawImage
img
- draw 되는 지정 이미지img
가
null 의 경우에는 아무것도 실시하지 않는x
- x 좌표y
- y 좌표bgcolor
- 이미지의 불투명하지 않은 부분아래에
칠해지는 백그라운드 칼라observer
- 이미지가 한층 더 변환되는 것이
통지되는 객체
false
,
그렇지 않은 경우는 true
Image
,
ImageObserver
,
ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)
public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)
Graphics.drawImage
를 오버라이드(override) 합니다.
Graphics
내의 drawImage
img
- draw 되는 지정 이미지img
가
null 의 경우에는 아무것도 실시하지 않는x
- x 좌표y
- y 좌표width
- 구형의 폭height
- 구형의 높이bgcolor
- 이미지의 불투명하지 않은 부분아래에
칠해지는 백그라운드 칼라observer
- 이미지가 한층 더 변환되는 것이
통지되는 객체
false
,
그렇지 않은 경우는 true
Image
,
ImageObserver
,
ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)
public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
Graphics.drawImage
를 오버라이드(override) 합니다.
Graphics
내의 drawImage
img
- draw 되는 지정 이미지img
가
null 의 경우에는 아무것도 실시하지 않는dx1
- 목적지 구형의 최초의 구석의
x 좌표dy1
- 목적지 구형의 최초의 구석의
y 좌표dx2
- 목적지 구형의 2 번째의 구석의
x 좌표dy2
- 목적지 구형의 2 번째의 구석의
y 좌표sx1
- 소스 구형의 최초의 구석의
x 좌표sy1
- 소스 구형의 최초의 구석의
y 좌표sx2
- 소스 구형의 2 번째의 구석의
x 좌표sy2
- 소스 구형의 2 번째의 구석의
y 좌표observer
- 이미지가 한층 더 슬캘링 되어 변환되는 것을
통지하는 객체
false
,
그렇지 않은 경우는 true
Image
,
ImageObserver
,
ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)
public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)
Graphics.drawImage
를 오버라이드(override) 합니다.
Graphics
내의 drawImage
img
- draw 되는 지정 이미지img
가
null 의 경우에는 아무것도 실시하지 않는dx1
- 목적지 구형의 최초의 구석의
x 좌표dy1
- 목적지 구형의 최초의 구석의
y 좌표dx2
- 목적지 구형의 2 번째의 구석의
x 좌표dy2
- 목적지 구형의 2 번째의 구석의
y 좌표sx1
- 소스 구형의 최초의 구석의
x 좌표sy1
- 소스 구형의 최초의 구석의
y 좌표sx2
- 소스 구형의 2 번째의 구석의
x 좌표sy2
- 소스 구형의 2 번째의 구석의
y 좌표bgcolor
- 이미지의 불투명하지 않은 부분아래에
칠해지는 백그라운드 칼라observer
- 이미지가 한층 더 슬캘링 되어 변환되는 것을
통지하는 객체
false
,
그렇지 않은 경우는 true
Image
,
ImageObserver
,
ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)
public void copyArea(int x, int y, int width, int height, int destX, int destY)
Graphics.copyArea
를 오버라이드(override) 합니다.
Graphics
내의 copyArea
x
- 소스 구형의 x 좌표y
- 소스 구형의 y 좌표width
- 소스 구형의 폭height
- 소스 구형의 높이destX
- 픽셀을 카피하는 수평거리destY
- 픽셀을 카피하는 수직 거리public void dispose()
Graphics.dispose
를 오버라이드(override) 합니다.
Graphics
내의 dispose
Graphics.finalize()
,
Component.paint(java.awt.Graphics)
,
Component.update(java.awt.Graphics)
,
Component.getGraphics()
,
Graphics.create()
public boolean isDrawingBuffer()
public void setDebugOptions(int options)
public int getDebugOptions()
setDebugOptions(int)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.