R Theta
R Theta
initGraphics( )
initGraphics(width, height)
drawArc(bounds, start, sweep)
drawArc
(x, y, width, height, start, sweep)
fillArc (bounds, start, sweep)
fillArc (x, y, width, height, start, sweep)
drawImage(filename, pt)
drawImage(filename, x, y)
drawImage(filename, bounds)
drawImage(filename, x, y, width, height)
getImageBounds(filename)
drawLine(p0, p1)
drawLine(x0, y0, x1, y1)
drawPolarLine(p0, r, theta)
drawPolarLine(x0, y0, r, theta)
drawOval(bounds)
drawOval(x, y, width, height)
fillOval(bounds)
fillOval(x, y, width, height)
drawRect(bounds)
drawRect(x, y, width, height)
fillRect(bounds)
fillRect(x, y, width, height)
drawPolygon(polygon)
drawPolygon(polygon, pt)
drawPolygon(polygon, x, y)
fillPolygon(polygon)
fillPolygon(polygon, pt)
fillPolygon(polygon, x, y)
drawString(str, pt)
drawString(str, x, y)
getStringWidth(str)
setFont(font)
getFont( )
setColor(color)
getColor( )
saveGraphicsState( )
restoreGraphicsState( )
getWindowWidth( )
getWindowHeight( )
repaint )
pause(milliseconds)
waitForClick( )
setWindowTitle(title)
getWindowTitle( )
exitGraphics( )