Search
Graphics Methods
 


 Public Methods

  Name Description

beginFigure

Starts a new figure.

clear

Clears the canvas.

clip

Sets the clip rectangle.

closeFigure

Closes the current figure.

drawCurve

Draws a spline curve.

drawEllipse

Draws an ellipse.

drawImage

Draws an image.

drawLines

Draws a series of straight lines.

drawPie

Draws a pie.

drawPolygon

Draws a polygon.

drawRectangle

Draws a rectangle.

drawString

Overloaded.  

fillEllipse

Fills an ellipse.

fillPie

Fills a pie.

fillPolygon

Fills a polygon.

fillRectangle

Fills a rectangle.

measureString

Gets the size of the specified string.

pointInPie

Checks if the given point is within the bounds of the given pie.

pointInPoly

Checks if the given point is within the bounds of the given polygon.

restore

Restores to a previously saved graphics state.

save

Saves the current graphics state.

setTransform

Sets a transform.

translate

Sets a translate transform.

 See Also