Class MapRectangle
Represents rectangle given in the geographical coordinates. Width and Height properties sets size of the rectangle in the current maps distance unit (miles or kilometers). The RadiusX and RadiusY properties are set in miles or kilometers as well.
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class MapRectangle : MapShape, IExtendedData, IColorable, IGeoSizeProvider
Constructors
MapRectangle()
Initializes a new instance of the MapRectangle class.
Declaration
public MapRectangle()
Fields
DegreeHeightProperty
Identifies the DegreeHeight dependency property.
Declaration
public static readonly DependencyProperty DegreeHeightProperty
Field Value
System.Windows.DependencyProperty
|
DegreeWidthProperty
Identifies the DegreeWidth dependency property.
Declaration
public static readonly DependencyProperty DegreeWidthProperty
Field Value
System.Windows.DependencyProperty
|
HeightListenerProperty
Listener for the Height property.
Declaration
public static readonly DependencyProperty HeightListenerProperty
Field Value
System.Windows.DependencyProperty
|
RadiusXProperty
Identifies the RadiusXProperty dependency property.
Declaration
public static readonly DependencyProperty RadiusXProperty
Field Value
System.Windows.DependencyProperty
|
RadiusYProperty
Identifies the RadiusYProperty dependency property.
Declaration
public static readonly DependencyProperty RadiusYProperty
Field Value
System.Windows.DependencyProperty
|
WidthListenerProperty
Listener for the Width property.
Declaration
public static readonly DependencyProperty WidthListenerProperty
Field Value
System.Windows.DependencyProperty
|
Properties
DegreeHeight
Gets or sets height of the rectangle in degrees. This is a dependency property.
Declaration
public double DegreeHeight { get; set; }
Property Value
System.Double
|
DegreeWidth
Gets or sets width of the rectangle in degrees. This is a dependency property.
Declaration
public double DegreeWidth { get; set; }
Property Value
System.Double
|
Location
Get or sets Left-Top corner of the rectangle.
Declaration
public Location Location { get; set; }
Property Value
Location
|
RadiusX
Gets or sets the x-axis radius of the ellipse that is used to round the corners of the rectangle. This is a dependency property.
Declaration
public double RadiusX { get; set; }
Property Value
System.Double
|
RadiusY
Gets or sets the y-axis radius of the ellipse that is used to round the corners of the rectangle. This is a dependency property.
Declaration
public double RadiusY { get; set; }
Property Value
System.Double
|
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 shape.
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
|