MindFusion.Mapping Programmer's Guide

LayerPresenter Members

Constructors Fields Properties Methods
 


A control used to render a single map layer.

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

 Public Constructors

  Name Description

LayerPresenter

Initializes a new instance of the LayerPresenter class.

 Public Fields

  Name Description

LayerProperty

Identifies the Layer dependency property.

 Public Properties

  Name Description

Layer

Gets or sets the layer rendered inside this control.

Palette

Gets or sets the color palette used to draw map shapes in this layer.

 Public Methods

  Name Description

ClipExclude

Overloaded. Excludes an area from the current clip region.

DrawImageUnscaled

Draws an image with the specified attributes.

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.

OnApplyTemplate

Control.OnApplyTemplate override.

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