DrawingContext Members

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

Public Constructors

Name Description
Public Method DrawingContext Overloaded. Initializes a new instance of the DrawingContext class.

Public Fields

Name Description
Public Field Dispatcher (Inherited from DispatcherObject.)

Public Properties

Name Description
Public Property Bitmap Gets the bitmapped image that the current DrawingContext object uses as its drawing surface.
Public Property Height Gets the height of the current DrawingContext object's drawing surface.
Public Property Width Gets the width of the current DrawingContext object's drawing surface.

Public Methods

Name Description
Public Method BlendImage Overlays a specified bitmapped image on an image that already exists on the drawing surface, and displays the resulting overlayed image at a specified location (position) on the drawing surface.
Public Method CheckAccess (Inherited from DispatcherObject.)
Public Method Clear Clears the drawing surface.
Public Method DrawEllipse Draws an ellipse on the drawing surface.
Public Method DrawImage Overloaded. Displays a bitmapped image on the drawing surface.
Public Method DrawLine Draws a line on the drawing surface.
Public Method DrawPolygon Draws a polygon on the drawing surface.
Public Method DrawRectangle Draws a rectangle on the drawing surface.
Public Method DrawText Overloaded. Draws text on the drawing surface.
Public Method Equals (Inherited from Object.)
Public Method GetClippingRectangle Retrieves the clipping rectangle of the current DrawingContext object.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method PopClippingRectangle Pops the clipping rectangle that was most recently pushed onto the current DrawingContext object.
Public Method PushClippingRectangle Pushes the specified clipping rectangle onto the current DrawingContext object.
Public Method ReferenceEquals (Inherited from Object.)
Public Method SetPixel Sets a single pixel to a color.
Public Method ToString (Inherited from Object.)
Public Method Translate Translates (moves) the most recently drawn image by the specified amount on the drawing surface.
Public Method VerifyAccess (Inherited from DispatcherObject.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

DrawingContext Class
Microsoft.SPOT.Presentation.Media Namespace