MindFusion.Mapping Programmer's Guide

ICanvas Members

Methods
 


Represents a drawing canvas.

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

 Public Methods

  Name Description

ClipExclude

Overloaded. Excludes an area from the current clip region.

DrawPoint

Draws a point marker at the specified location.

DrawPolyline

Draws a polyline.

DrawString

Draws a string with the specified attributes.

FillPolygon

Fills a polygon.

GetPixelSize

Gets the size of a pixel at the current zoom level.

ResetClip

Resets the current clip region.

SetFillColor

Sets the current fill color to the specified color from the palette.

SetHighlightColor

Sets the current fill and line colors to the highlight color associated with this canvas.

SetLineColor

Sets the current line color to the line color associated with this canvas.

SetTextAlignment

Sets the current text alignment.

 See Also