GC « org.eclipse.swt.graphics « Java by API






1.GC: drawFocus(int x, int y, int width, int height)
2.GC: drawImage(Image image, int x, int y)
3.GC: drawLine(int x1, int y1, int x2, int y2)
4.GC: drawOval(int x, int y, int width, int height)
5.GC: drawPoint(int x, int y)
6.GC: drawPolygon(int[] pointArray)
7.GC: drawRoundRectangle(int x, int y, int width, int height, int arcWidth, int arcHeight)
8.GC: drawText(String string, int x, int y)
9. drawText(String string, int x, int y, int flags)








10.GC: fillArc(int x, int y, int width, int height, int startAngle, int endAngle)
11.GC: setBackground(Color c)
12.GC: setFont(Font f)
13.GC: setLineWidth(int w)