WebPlanner Programmer's Guide

GraphicsEx Members

Constructors Properties Methods
 


Extends the .NET Compact Framework Graphics class.

The following tables list the members exposed by the GraphicsEx type.

 Public Constructors

  Name Description

GraphicsEx

Initializes a new instance of the GraphicsEx class.

 Public Properties

  Name Description

Scroll

Gets the current translation vector of this GraphicsEx object.

 Public Methods

  Name Description

Clear

Clears the entire drawing surface and fills it with the specified background color.

Dispose

Disposes the underlying Graphics object.

DrawImage

Overloaded. The DrawImage methods are used to draw an image at a specified position. Some of the overloads let you specify a color key and a size to which the image is stretched.

DrawLine

Overloaded. Draws a line connecting two points.

DrawPolygon

Draws a polygon defined by an array of .NET Point structures.

DrawRectangle

Overloaded. Draws a rectangle at the specified position with the specified size.

DrawString

Overloaded. Draws the specified text string at the specified location with the specified Brush and Font objects.

FillPolygon

Fills the interior of a polygon defined by an array of points specified by .NET Point structures.

FillRectangle

Fills the interior of a rectangle specified by a .NET Rectangle structure.

GetFontHeight

Returns the line spacing of a specified .NET Font object.

MeasureString

Measures the extent of the string in the specified font.

ResetTransform

Sets the transformation applied to this GraphicsEx object to the identity transformation.

TranslateTransform

Appends the specified translation to the current translation transformation of this GraphicsEx object.

 See Also