Class MapPolyline
Represents series of connected straight lines given in the geographical coordinates.
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class MapPolyline : MapShape, IExtendedData, IColorable, IGeoSizeProvider
Constructors
MapPolyline()
Initializes a new instance of the MapPolyline class.
Declaration
public MapPolyline()
Fields
FillRuleProperty
Identifies the FillRule dependency property.
Declaration
public static readonly DependencyProperty FillRuleProperty
Field Value
System.Windows.DependencyProperty
|
PointsProperty
Identifies the Points dependency property.
Declaration
public static readonly DependencyProperty PointsProperty
Field Value
System.Windows.DependencyProperty
|
Properties
FillRule
Gets or sets a FillRule enumeration that specifies how the interior fill of the shape is determined. This is a dependency property.
Declaration
public FillRule FillRule { get; set; }
Property Value
System.Windows.Media.FillRule
|
Points
Gets or sets a collection that contains the vertex points of the Polyline. This is a dependency property.
Declaration
public LocationCollection Points { get; set; }
Property Value
LocationCollection
|
ScreenBounds
Gets bounding rectangle given in pixels.
Declaration
public override Rect ScreenBounds { get; }
Property Value
System.Windows.Rect
|
Overrides
Methods
CreateShape()
Creates the shape.
Declaration
protected virtual void CreateShape()
MoveTo(Location)
Change all locations in Points collection so the first point coincide with new location.
Declaration
public override void MoveTo(Location location)
Parameters
Location
location
New location. |
Overrides
OnPointsChanged()
This method is called when points collection is changed.
Declaration
protected virtual void OnPointsChanged()
PrepareShape()
Prepare shape.
Declaration
protected override Size PrepareShape()
Returns
System.Windows.Size
|