ASP.NET Pack 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

ArrangeLabel

Arranges shape's labels so that they do not overlap specified obstacles.

ClipExclude

Overloaded.  

DrawLabel

Draws a Label.

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.

GetRotatedBounds

Gets the bounding box of a rotated rectangle.

ResetClip

Resets the current clip region.

SetBrush

Sets the current brush to the one associated with specified map feature.

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.

SetPen

Sets the current pen to the one associated with specified map feature.

SetTextAlignment

Sets the current text alignment.

UpdateLabel

Updates bounding box of shape's label from shape coordinates.

 See Also

ICanvas Interface
MindFusion.Mapping Namespace