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.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class MapRectangle : MapShape, IExtendedData, IColorable, IGeoSizeProvider
Inheritance: objectMapShapeMapRectangle
Implements:
Inherited Members
Constructors
Initializes a new instance of the MapRectangle class.
public MapRectangle()
Fields
DegreeHeightProperty
DependencyProperty
Identifies the DegreeHeight dependency property.
public static readonly DependencyProperty DegreeHeightProperty
DegreeWidthProperty
DependencyProperty
Identifies the DegreeWidth dependency property.
public static readonly DependencyProperty DegreeWidthProperty
HeightListenerProperty
DependencyProperty
Listener for the Height property.
public static readonly DependencyProperty HeightListenerProperty
RadiusXProperty
DependencyProperty
Identifies the RadiusXProperty dependency property.
public static readonly DependencyProperty RadiusXProperty
RadiusYProperty
DependencyProperty
Identifies the RadiusYProperty dependency property.
public static readonly DependencyProperty RadiusYProperty
WidthListenerProperty
DependencyProperty
Listener for the Width property.
public static readonly DependencyProperty WidthListenerProperty
Properties
Gets or sets height of the rectangle in degrees. This is a dependency property.
public double DegreeHeight { get; set; }
Gets or sets width of the rectangle in degrees. This is a dependency property.
public double DegreeWidth { get; set; }
Get or sets Left-Top corner of the rectangle.
public Location Location { get; set; }
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.
public double RadiusX { get; set; }
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.
public double RadiusY { get; set; }
ScreenBounds
Rect
Gets bounding rectangle given in pixels.
public override Rect ScreenBounds { get; }
Overrides:
Methods
Change location of the shape.
public override void MoveTo(Location location)
New location.
Overrides:
Prepare shape.
protected override Size PrepareShape()
Size
Overrides: