Contains helper functions for drawing on a Canvas element.
The following tables list the members exposed by the Graphics type.
Name | Description | |
---|---|---|
Initializes a new instance of the Graphics class. |
Name | Description | |
---|---|---|
Gets or sets the underlying CanvasRenderingContext2D drawing object. |
Name | Description | |
---|---|---|
Starts a new figure. |
||
Clears the canvas. |
||
Sets the clip rectangle. |
||
Closes the current figure. |
||
Draws a spline curve. |
||
Draws an ellipse. |
||
Draws an image. |
||
Draws a series of straight lines. |
||
Draws a pie. |
||
Draws a polygon. |
||
Draws a rectangle. |
||
Overloaded. |
||
Fills an ellipse. |
||
Fills a pie. |
||
Fills a polygon. |
||
Fills a rectangle. |
||
Gets the size of the specified string. |
||
Checks if the given point is within the bounds of the given pie. |
||
Checks if the given point is within the bounds of the given polygon. |
||
Restores to a previously saved graphics state. |
||
Saves the current graphics state. |
||
Sets a transform. |
||
Sets a translate transform. |