public class Graphics : IGraphics, IDisposablePublic Class Graphics
Implements IGraphics, IDisposablepublic ref class Graphics : IGraphics,
IDisposabletype Graphics =
class
interface IGraphics
interface IDisposable
end| Graphics | Constructor to create an Defines methods for a native system drawing surface encapsulation. object for the target platform. |
| ClipBounds | Current clipping rectangle. |
| Dpi | Current application DPI. |
| Specifics | Implements IDrawingSpecifics for the .Net Framework platform. |
| AddCustomFont | Adds custom font to allow its rendering. |
| Clear | Clears the entire drawing surface and fills it with the specified background color. |
| ColorToWebColor | Converts .Net Color to Web Color. Method created, because .Net Compact Framework 2.0 doesn't support System.Drawing.ColorTranslator class. |
| DrawBezier | Draws a Bézier spline defined by four PointF structures. |
| DrawEllipse | Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width. |
| DrawImage | Draws the specified portion of the specified Image at the specified location and with the specified size. |
| DrawLine | Draws a line connecting the two points specified by the coordinate pairs. |
| DrawPath | Draws a PathStep array. |
| DrawPolyline | Draws a polyline defined by an array of Point structures. |
| DrawRectangle | Draws a rectangle specified by a coordinate pair, a width, and a height. |
| DrawRoundedRectangle | Draws a rounded rectangle specified by a coordinate pair, a width, and a height. |
| DrawString | Draws the specified text string at the specified location with the specified ColorBrush and FontInfo objects using the formatting attributes of the specified StringOptions. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| FillBezier | Fills a Bézier spline defined by four PointF structures. |
| FillEllipse | Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height. |
| FillPath | Fills the interior of a PathStep array. |
| FillPolyline | Fills the interior of a polyline defined by an array of points specified by Point structures. |
| FillRectangle | Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height. |
| FillRoundedRectangle | Fills the interior of a rounded rectangle specified by a pair of coordinates, a width, and a height. |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetColorByName | Returns Color object by specified string representation of the color. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| LoadChars | Loads chars from resources. |
| MeasureString | Measures the specified string when drawn with the specified FontInfo and formatted with the specified StringOptions. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Restore | Sets the state of the current graphics object to what it was when SMath.Manager.IGraphics.Save was last called. |
| Rotate | Applies the specified rotation to the transformation matrix. |
| Save | Stores state of the current graphics object. |
| SaveAndClip | Stores state of the current graphics object and sets the clipping rectangle afterwards. |
| Scale | Applies the specified scaling operation to the transformation matrix by prepending it to the object's transformation matrix. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Translate | Translates the whole region by specified amounts in the horizontal and vertical directions. |
| UnwrapT | Returns native surface object. |
| WebColorToColor | Converts Web Color to .Net Color. Method created, because .Net Compact Framework doesn't support System.Drawing.ColorTranslator class. |
| ContentDpi | Standard content DPI. |
| EquationsFontName | Name of the font used to draw math specific operators and functions. |
| DrawEllipse |
Draws an ellipse specified by a bounding RectangleF structure.
(Defined by GraphicsExtensions) |
| DrawImage |
Draws the specified portion of the specified Image at the specified location.
(Defined by GraphicsExtensions) |
| DrawImage |
Draws the specified portion of the specified Image at the specified location.
(Defined by GraphicsExtensions) |
| DrawImage |
Draws the specified portion of the specified Image at the specified location.
(Defined by GraphicsExtensions) |
| DrawLine |
Draws a line connecting the two points specified by the coordinate pairs.
(Defined by GraphicsExtensions) |
| DrawPath |
Draws a PathStep array.
(Defined by GraphicsExtensions) |
| DrawRectangle |
Draws a rectangle specified by a RectangleF structure.
(Defined by GraphicsExtensions) |
| DrawRoundedRectangle |
Draws a rounded rectangle specified by rectangle bounds.
(Defined by GraphicsExtensions) |
| DrawString |
Draws the specified text string at the specified location with the specified ColorBrush and FontInfo objects.
(Defined by GraphicsExtensions) |
| DrawString |
Draws the specified text string at the specified location with the specified ColorBrush and
FontInfo objects using the formatting attributes of the specified StringOptions.
(Defined by GraphicsExtensions) |
| DrawSvgPath |
Draws an SVG path. The following instructions supported: hHmMlLaAqQcCtTsSvVzZ.
Limitation:
- Only one argument can be used for hHvV.
(Defined by GraphicsExtensions) |
| FillEllipse |
Fills the interior of an ellipse defined by a bounding rectangle specified by a RectangleF structure.
(Defined by GraphicsExtensions) |
| FillPath |
Fills the interior of a PathStep array.
(Defined by GraphicsExtensions) |
| FillRectangle |
Fills the interior of a rectangle specified by a RectangleF structure.
(Defined by GraphicsExtensions) |
| FillRoundedRectangle |
Fills the interior of a rounded rectangle specified by rectangle bounds.
(Defined by GraphicsExtensions) |
| FillSvgPath |
Fills an SVG path. The following instructions supported: hHmMlLaAqQcCtTsSvVzZ.
Limitation:
- Only one argument can be used for hHvV.
Note:
- Using of zZ have no sense as path will be rendered closed for filling automatically.
(Defined by GraphicsExtensions) |
| MeasureString |
Measures the specified string when drawn with the specified FontInfo.
(Defined by GraphicsExtensions) |
| Scale |
Applies the specified scaling operation to the transformation matrix of this IGraphics by prepending it to the object's transformation matrix.
(Defined by GraphicsExtensions) |
| IDisposableDispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |