ClassMapRectangle
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
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
DependencyProperty
DegreeWidthProperty
Identifies the DegreeWidth dependency property.
Declaration
public static readonly DependencyProperty DegreeWidthProperty
Field Value
DependencyProperty
HeightListenerProperty
Listener for the Height property.
Declaration
public static readonly DependencyProperty HeightListenerProperty
Field Value
DependencyProperty
RadiusXProperty
Identifies the RadiusXProperty dependency property.
Declaration
public static readonly DependencyProperty RadiusXProperty
Field Value
DependencyProperty
RadiusYProperty
Identifies the RadiusYProperty dependency property.
Declaration
public static readonly DependencyProperty RadiusYProperty
Field Value
DependencyProperty
WidthListenerProperty
Listener for the Width property.
Declaration
public static readonly DependencyProperty WidthListenerProperty
Field Value
DependencyProperty
Properties
DegreeHeight
Gets or sets height of the rectangle in degrees. This is a dependency property.
DegreeWidth
Gets or sets width of the rectangle in degrees. This is a dependency property.
Location
Get or sets Left-Top corner of the rectangle.
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.
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.
ScreenBounds
Gets bounding rectangle given in pixels.
Declaration
public override Rect ScreenBounds { get; }
Property Value
Rect
Overrides
Methods
MoveTo(Location)
Change location of the shape.
Declaration
public override void MoveTo(Location location)
Parameters
location
New location.
Overrides
PrepareShape()
Prepare shape.
Declaration
protected override Size PrepareShape()
Returns
Size
Overrides