MapPolyline
Represents series of connected straight lines given in the geographical coordinates.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class MapPolyline : MapShape, IExtendedData, IColorable, IGeoSizeProvider
Inheritance: objectMapShapeMapPolyline
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the MapPolyline class.
public MapPolyline()
Fields
FillRuleProperty
DependencyProperty
Identifies the FillRule dependency property.
public static readonly DependencyProperty FillRuleProperty
PointsProperty
DependencyProperty
Identifies the Points dependency property.
public static readonly DependencyProperty PointsProperty
Properties
FillRule
FillRule
Gets or sets a FillRule enumeration that specifies how the interior fill of the shape is determined. This is a dependency property.
public FillRule FillRule { get; set; }
Gets or sets a collection that contains the vertex points of the Polyline. This is a dependency property.
public LocationCollection Points { get; set; }
ScreenBounds
Rect
Gets bounding rectangle given in pixels.
public override Rect ScreenBounds { get; }
Overrides:
Methods
Creates the shape.
protected virtual void CreateShape()
Change all locations in Points collection so the first point coincide with new location.
public override void MoveTo(Location location)
New location.
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
This method is called when points collection is changed.
protected virtual void OnPointsChanged()
Prepare shape.
protected override Size PrepareShape()
Size
Overrides: