Class MapLine
Represents line given in the geographical coordinates.
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class MapLine : MapShape, IExtendedData, IColorable, IGeoSizeProvider
Constructors
MapLine()
Initializes a new instance of the MapLine class.
Declaration
public MapLine()
Fields
Point1Property
Identifies the Point1 dependency property.
Declaration
public static readonly DependencyProperty Point1Property
Field Value
System.Windows.DependencyProperty
|
Point2Property
Identifies the Point2 dependency property.
Declaration
public static readonly DependencyProperty Point2Property
Field Value
System.Windows.DependencyProperty
|
Properties
Point1
Gets or sets the start point of the line.
Declaration
public Location Point1 { get; set; }
Property Value
Location
|
Point2
Gets or sets the end point of the line.
Declaration
public Location Point2 { get; set; }
Property Value
Location
|
ScreenBounds
Gets bounding rectangle given in pixels.
Declaration
public override Rect ScreenBounds { get; }
Property Value
System.Windows.Rect
|
Overrides
Methods
MoveTo(Location)
Change location of the line so Point1 coincide with new location.
Declaration
public override void MoveTo(Location location)
Parameters
Location
location
New location. |
Overrides
PrepareShape()
Prepare shape.
Declaration
protected override Size PrepareShape()
Returns
System.Windows.Size
|